Heterocyclic compounds as immunomodulators

ABSTRACT

Disclosed are compounds of Formula (I), methods of using the compounds as immunomodulators, and pharmaceutical compositions comprising such compounds. The compounds are useful in treating, preventing or ameliorating diseases or disorders such as cancer or infections.

FIELD OF THE INVENTION

The present application is concerned with pharmaceutically activecompounds. The disclosure provides compounds as well as theircompositions and methods of use. The compounds modulate PD-1/PD-L1protein/protein interaction and are useful in the treatment of variousdiseases including infectious diseases and cancer.

BACKGROUND OF THE INVENTION

The immune system plays an important role in controlling and eradicatingdiseases such as cancer. However, cancer cells often develop strategiesto evade or to suppress the immune system in order to favor theirgrowth. One such mechanism is altering the expression of co-stimulatoryand co-inhibitory molecules expressed on immune cells (Postow et al, J.Clinical Oncology 2015, 1-9). Blocking the signaling of an inhibitoryimmune checkpoint, such as PD-1, has proven to be a promising andeffective treatment modality.

Programmed cell death-1 (PD-1), also known as CD279, is a cell surfacereceptor expressed on activated T cells, natural killer T cells, Bcells, and macrophages (Greenwald et al, Annu. Rev. Immunol 2005,23:515-548; Okazaki and Honjo, Trends Immunol 2006, (4): 195-201). Itfunctions as an intrinsic negative feedback system to prevent theactivation of T-cells, which in turn reduces autoimmunity and promotesself-tolerance. In addition, PD-1 is also known to play a critical rolein the suppression of antigen-specific T cell response in diseases likecancer and viral infection (Sharpe et al, Nat Immunol 2007 8, 239-245;Postow et al, J. Clinical Oncol 2015, 1-9).

The structure of PD-1 consists of an extracellular immunoglobulinvariable-like domain followed by a transmembrane region and anintracellular domain (Parry et al, Mol Cell Biol 2005, 9543-9553). Theintracellular domain contains two phosphorylation sites located in animmunoreceptor tyrosine-based inhibitory motif and an immunoreceptortyrosine-based switch motif, which suggests that PD-1 negativelyregulates T cell receptor-mediated signals. PD-1 has two ligands, PD-L1and PD-L2 (Parry et al, Mol Cell Biol 2005, 9543-9553; Latchman et al,Nat Immunol 2001, 2, 261-268), and they differ in their expressionpatterns. PD-L1 protein is upregulated on macrophages and dendriticcells in response to lipopolysaccharide and GM-CSF treatment, and on Tcells and B cells upon T cell receptor and B cell receptor signaling.PD-L1 is also highly expressed on almost all tumor cells, and theexpression is further increased after IFN-γ treatment (Iwai et al, PNAS2002, 99(19):12293-7; Blank et al, Cancer Res 2004, 64(3):1140-5). Infact, tumor PD-L1 expression status has been shown to be prognostic inmultiple tumor types (Wang et al, Eur J Surg Oncol 2015; Huang et al,Oncol Rep 2015; Sabatier et al, Oncotarget 2015, 6(7): 5449-5464). PD-L2expression, in contrast, is more restricted and is expressed mainly bydendritic cells (Nakae et al, J Immunol 2006, 177:566-73). Ligation ofPD-1 with its ligands PD-L1 and PD-L2 on T cells delivers a signal thatinhibits IL-2 and IFN-γ production, as well as cell proliferationinduced upon T cell receptor activation (Carter et al, Eur J Immunol2002, 32(3):634-43; Freeman et al, J Exp Med 2000, 192(7): 1027-34). Themechanism involves recruitment of SHP-2 or SHP-1 phosphatases to inhibitT cell receptor signaling such as Syk and Lck phosphorylation (Sharpe etal, Nat Immunol 2007, 8, 239-245). Activation of the PD-1 signaling axisalso attenuates PKC-θ activation loop phosphorylation, which isnecessary for the activation of NF-κB and API pathways, and for cytokineproduction such as IL-2, IFN-γ and TNF (Sharpe et al, Nat Immunol 2007,8, 239-245; Carter et al, Eur J Immunol 2002, 32(3):634-43; Freeman etal, J Exp Med 2000, 192(7):1027-34).

Several lines of evidence from preclinical animal studies indicate thatPD-1 and its ligands negatively regulate immune responses.PD-1-deficient mice have been shown to develop lupus-likeglomerulonephritis and dilated cardiomyopathy (Nishimura et al, Immunity1999, 11:141-151; Nishimura et al, Science 2001, 291:319-322). Using anLCMV model of chronic infection, it has been shown that PD-1/PD-L1interaction inhibits activation, expansion and acquisition of effectorfunctions of virus-specific CD8 T cells (Barber et al, Nature 2006, 439,682-7). Together, these data support the development of a therapeuticapproach to block the PD-1-mediated inhibitory signaling cascade inorder to augment or “rescue” T cell response. Accordingly, there is aneed for new compounds that block PD-1/PD-L1 protein/proteininteraction.

SUMMARY

The present disclosure provides, inter alia, a compound of Formula (I):

or a pharmaceutically acceptable salt or a stereoisomer thereof, whereinconstituent variables are defined herein.

The present disclosure further provides a pharmaceutical compositioncomprising a compound disclosed herein, or a pharmaceutically acceptablesalt or a stereoisomer thereof, and one or more pharmaceuticallyacceptable excipient or carrier.

The present disclosure further provides methods of inhibiting PD-1/PD-L1interaction, said method comprising administering to a patient acompound disclosed herein, or a pharmaceutically acceptable salt or astereoisomer thereof.

The present disclosure further provides methods of treating a disease ordisorder associated with inhibition of PD-1/PD-L1 interaction, saidmethod comprising administering to a patient in need thereof atherapeutically effective amount of a compound of disclosed herein, or apharmaceutically acceptable salt or a stereoisomer thereof.

The present disclosure further provides methods of enhancing,stimulating and/or increasing the immune response in a patient, saidmethod comprising administering to the patient in need thereof atherapeutically effective amount of a compound disclosed herein, or apharmaceutically acceptable salt or a stereoisomer thereof.

DETAILED DESCRIPTION I. Compounds

This disclosure provides, inter alia, a compound of Formula (I):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₄ cycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from B, P, N, O and S, whereinthe P, N or S atom as ring members is optionally oxidized and one ormore carbon atoms as ring members are each optionally replaced by acarbonyl group; and wherein ring A is optionally substituted with 1, 2,3, 4 or 5 R⁶ substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, —C(═S)NR¹³—, —NR¹³C(═S)—,—C(═NR¹³)NR¹³—, —NR¹³C(═NR¹³)—, —C(═NOR¹³)NR¹³—, —NR¹³C(═NOR¹³)—,—C(═NCN)NR¹³—, —NR¹³C(═NCN)—, O, —(CR¹⁴R¹⁵)_(q)—, —(CR¹⁴R¹⁵)_(q)—O—,—O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—, —NR¹³—(CR¹⁴R¹⁵)_(q)—,—CH═CH—, —C≡C—, —SO₂NR¹³—, —NR¹³SO₂—, —NR¹³SO₂NR¹³—, —NR¹³C(O)O—,—OC(O)NR¹³ or —NR¹³C(O)NR¹³—;

X is N or CR¹⁷;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selected from H, halo, C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), C(O)NR^(a)S(O)₂R^(a),OC(O)R^(a), OC(O)NR^(a)R^(a), NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a),NR^(a)C(═NR^(a))R^(a), NR^(a)C(O)OR^(a), NR^(a)C(O)NR^(a)R^(a),C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a), NR^(a)C(═NR^(a))NR^(a)R^(a),NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a), NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a),S(O)NR^(a)R^(a), S(O)₂R^(a), S(O)₂NR^(a)C(O)R^(a), —P(O)R^(a)R^(a),—P(O)(OR^(a))(OR^(a)), —B(OH)₂, —B(OR^(a))₂ and S(O)₂NR^(a)R^(a),wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-14 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionally substituted with 1, 2, 3, 4or 5 independently selected R^(b) substituents;

or two R⁶ substituents attached to the same ring carbon atom takentogether with the ring carbon atom to which they are attached form spiroC₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl, each ofwhich is optionally substituted with 1, 2, or 3 independently selectedR^(f) substituents;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂;

R¹⁴ and R¹⁵ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are eachoptionally substituted with 1, 2, or 3 independently selected R^(q)substituents;

or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 independently selected R^(q) substituents;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(d) substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), C(O)NR^(e)S(O)₂R^(e),OC(O)R^(e), OC(O)NR^(e)R^(e), NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e),NR^(e)C(═NR^(e))R^(e), NR^(e)C(O)NR^(e)R^(e), NR^(e)C(O)OR^(e),C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), S(O)₂NR^(e)C(O)R^(e), NR^(e)S(O)₂R^(e),NR^(e)S(O)₂NR^(e)R^(e), —P(O)R^(e)R^(e), —P(O)(OR^(e))(OR^(e)), —B(OH)₂,—B(OR^(e))₂ and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆haloalkyl, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents; each R^(e) isindependently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), C(O)NR^(c)S(O)₂R^(c),OC(O)R^(c), OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c),NR^(c)C(═NR^(c))NR^(c)R^(c), NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c),NR^(c)C(═NR^(c))R^(c), NR^(c)C(O)OR^(c), NR^(c)C(O)NR^(c)R^(c),NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c), NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c),S(O)NR^(c)R^(c), S(O)₂R^(c), S(O)₂NR^(c)C(O)R^(c), —P(O)R^(c)R^(c),—P(O)(OR^(c))(OR^(c)), —B(OH)₂, —B(OR^(c))₂ and S(O)₂NR^(c)R^(c);wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(b) are each furtheroptionally substituted with 1, 2, or 3 independently selected R^(d)substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(g),OR^(g), SR^(g), C(O)R^(g), C(O)NR^(g)R^(g), C(O)OR^(g),C(O)NR^(g)S(O)₂R^(g), OC(O)R^(g), OC(O)NR^(g)R^(g), NHR^(g),NR^(g)R^(g), NR^(g)C(O)R^(g), NR^(g)C(═NR^(g))R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(i)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),S(O)₂NR^(g)C(O)R^(g), NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g),—P(O)R^(g)R^(g), —P(O)(OR^(g))(OR^(g)), —B(OH)₂, —B(OR^(g))₂ andS(O)₂NR^(g)R^(g); wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are eachoptionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(n) substituents;

each R^(n) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(o),OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o), C(O)OR^(o),C(O)NR^(o)S(O)₂R^(o), OC(O)R^(o), OC(O)NR^(o)R^(o), NHR^(o),NR^(o)R^(o), NR^(o)C(O)R^(o), NR^(o)C(═NR^(o))R^(o),NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o), C(═NR^(o))NR^(o)R^(o),NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o),S(O)₂NR^(o)C(O)R^(o), NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o),—P(O)R^(o)R^(o), —P(O)(OR^(o))(OR^(o)), —B(OH)₂, —B(OR^(o))₂ andS(O)₂NR^(o)R^(o), wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are eachoptionally substituted with 1, 2 or 3 independently selected R^(q)substituents;

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(g) areeach optionally substituted with 1, 2, or 3 independently selected R^(p)substituents;

each R^(p) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r),OR^(r), SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r),C(O)NR^(r)S(O)₂R^(r), OC(O)R^(r), OC(O)NR^(r)R^(r), NHR^(r),NR^(r)R^(r), NR^(r)C(O)R^(r), NR^(r)C(═NR^(r))R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),S(O)₂NR^(r)C(O)R^(r), NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r),—P(O)R^(r)R^(r), —P(O)(OR^(r))(OR^(r)), —B(OH)₂, —B(OR^(r))₂ andS(O)₂NR^(r)R^(r), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionallysubstituted with 1, 2 or 3 independently selected R^(q) substituents;

or any two R^(a) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2or 3 independently selected R^(h) substituents;

each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃-C₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),C(O)NR^(i)S(O)₂R^(i), OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i),NR^(i)R^(i), NR^(i)C(O)R^(i), NR^(i)C(═NR^(i))R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR)NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),S(O)₂NR^(i)C(O)R^(i), NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i),—P(O)R^(i)R^(i), —P(O)(OR^(i))(OR^(i)), —B(OH)₂, —B(OR^(i))₂ andS(O)₂NR^(i)R^(i), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₃₋₁₀ cycloalkyl, 4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6membered heteroaryl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-6 membered heteroaryl)-C₁₋₄ alkyl-, (4-7 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(h) are each further optionallysubstituted by 1, 2, or 3 independently selected R^(j) substituents;

each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,NHOR^(k), OR^(k), SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k),C(O)NR^(k)S(O)₂R^(k), OC(O)R^(k), OC(O)NR^(k)R^(k), NHR^(k),NR^(k)R^(k), NR^(k)C(O)R^(k), NR^(k)C(═NR^(k))R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),S(O)₂NR^(k)C(O)R^(k), NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k),—P(O)R^(k)R^(k), —P(O)(OR^(k))(OR^(k)), —B(OH)₂, —B(OR^(k))₂ andS(O)₂NR^(k)R^(k), wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl,5- or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄alkenyl, C₂₋₄ alkynyl, C₁₋₄ haloalkyl and C₁₋₄ haloalkoxy of R^(j) areeach optionally substituted with 1, 2 or 3 independently selected R^(q)substituents;

or two R^(h) groups attached to the same carbon atom of the 4- to10-membered heterocycloalkyl taken together with the carbon atom towhich they are attached form a C₃₋₆ cycloalkyl or 4- to 6-memberedheterocycloalkyl having 1-2 heteroatoms as ring members selected from O,N or S;

or any two R^(c) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(e) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(g) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(i) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents, or 1, 2, or 3independently selected R^(q) substituents;

or any two R^(k) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents, or 1, 2, or 3independently selected R^(q) substituents;

or any two R^(o) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(r) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

each R^(i), R^(k), R^(o) or R^(r) is independently selected from H, C₁₋₄alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7membered heterocycloalkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl,C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl,C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o) or R^(r) are eachoptionally substituted with 1, 2 or 3 R^(q) substituents;

each R^(q) is independently selected from halo, OH, CN, —COOH, NH₂,—NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;

the subscript m is an integer of 0, 1, 2 or 3;

the subscript n is an integer of 0, 1, 2 or 3;

each subscript q is independently an integer of 1, 2, 3 or 4; and

the subscript s is an integer of 1, 2, or 3.

In some embodiments, provided herein is a compound of Formula (I), or apharmaceutically acceptable salt or a stereoisomer thereof, wherein:

ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₄ cycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from B, P, N, O and S, whereinthe P, N or S atom as ring members is optionally oxidized and one ormore carbon atoms as ring members are each optionally replaced by acarbonyl group; and wherein ring A is optionally substituted with 1, 2,3, 4 or 5 R⁶ substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q),—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—, —NR¹³SO₂—,—NR¹³SO₂NR¹³—, —NR¹³C(O)O—, —OC(O)NR¹³ or —NR¹³C(O)NR¹³—;

X is N or CR¹⁷;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selected from H, halo, C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a),NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), NR^(a)C(O)OR^(a),NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a),NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a),NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a), S(O)₂R^(a),—P(O)R^(a)R^(a), —P(O)(OR^(a))(OR^(a)), —B(OH)₂, —B(OR^(a))₂ andS(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionallysubstituted with 1, 2, 3, 4 or 5 independently selected R^(b)substituents;

or two R⁶ substituents attached to the same ring carbon atom takentogether with the ring carbon atom to which they are attached form spiroC₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl, each ofwhich is optionally substituted with 1, 2, or 3 independently selectedR^(f) substituents;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂;

R¹⁴ and R¹⁵ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are eachoptionally substituted with 1, 2, or 3 independently selected R^(q)substituents;

or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 independently selected R^(q) substituents;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(d) substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),—P(O)R^(e)R^(e), —P(O)(OR^(e))(OR^(e)), —B(OH)₂, —B(OR^(e))₂ andS(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀ aryl,5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents;

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR)NR^(c)R^(c), NR^(c)C(═NR)NR^(c)R^(c), NHR^(c),NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c), NR^(c)C(O)NR^(c)R^(c),NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c), NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c),S(O)NR^(c)R^(c), S(O)₂R^(c), —P(O)R^(c)R^(c), —P(O)(OR^(c))(OR^(c)),—B(OH)₂, —B(OR^(c))₂ and S(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(b) are each further optionallysubstituted with 1, 2, or 3 independently selected R^(d) substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(g),OR^(g), SR^(g), C(O)R^(g), C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g),OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g), NR^(g)C(O)R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g), —P(O)R^(g)R^(g),—P(O)(OR^(g))(OR^(g)), —B(OH)₂, —B(OR^(g))₂ and S(O)₂NR^(g)R^(g);wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(n) substituents;

each R^(n) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(o),OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o), C(O)OR^(o), OC(O)R^(o),OC(O)NR^(o)R^(o), NHR^(o), NR^(o)R^(o), NR^(o)C(O)R^(o),NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o), C(═NR)NR^(o)R^(o),NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o),NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o), —P(O)R^(o)R^(o),—P(O)(OR^(o))(OR^(o)), —B(OH)₂, —B(OR^(o))₂ and S(O)₂NR^(o)R^(o),wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are each optionally substitutedwith 1, 2 or 3 independently selected R^(q) substituents;

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(g) areeach optionally substituted with 1, 2, or 3 independently selected R^(p)substituents;

each R^(p) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r),OR^(r), SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r), —P(O)R^(r)R^(r),—P(O)(OR^(r))(OR^(r)), —B(OH)₂, —B(OR^(r))₂ and S(O)₂NR^(r)R^(r),wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁-4 alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 independently selected R^(q) substituents;

or any two R^(a) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2or 3 independently selected R^(h) substituents;

each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), —P(O)R^(i)R^(i),—P(O)(OR^(i))(OR^(i)), —B(OH)₂, —B(OR^(i))₂ and S(O)₂NR^(i)R^(i),wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- ofR^(h) are each further optionally substituted by 1, 2, or 3independently selected R^(j) substituents;

each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,NHOR^(k), OR^(k), SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k),OC(O)R^(k), OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k), —P(O)R^(k)R^(k),—P(O)(OR^(k))(OR^(k)), —B(OH)₂, —B(OR^(k))₂ and S(O)₂NR^(k)R^(k),wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-memberedheteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl,C₁₋₄ haloalkyl and C₁₋₄ haloalkoxy of R^(j) are each optionallysubstituted with 1, 2 or 3 independently selected R^(q) substituents;

or two R^(h) groups attached to the same carbon atom of the 4- to10-membered heterocycloalkyl taken together with the carbon atom towhich they are attached form a C₃₋₆ cycloalkyl or 4- to 6-memberedheterocycloalkyl having 1-2 heteroatoms as ring members selected from O,N or S;

or any two R^(c) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(e) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(g) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(i) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents, or 1, 2, or 3independently selected R^(q) substituents;

or any two R^(k) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents, or 1, 2, or 3independently selected R^(q) substituents;

or any two R^(o) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(r) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

each R^(i), R^(k), R^(o) or R^(r) is independently selected from H, C₁₋₄alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7membered heterocycloalkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl,C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl,C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o) or R^(r) are eachoptionally substituted with 1, 2 or 3 R^(q) substituents;

each R^(q) is independently selected from halo, OH, CN, —COOH, NH₂,—NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;

the subscript m is an integer of 0, 1, 2 or 3;

the subscript n is an integer of 0, 1, 2 or 3;

each subscript q is independently an integer of 1, 2, 3 or 4; and

the subscript s is an integer of 1, 2, or 3.

In some embodiments, provided herein is a compound of Formula (I), or apharmaceutically acceptable salt or a stereoisomer thereof, wherein:

ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₄ cycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from B, P, N, O and S, whereinthe P, N or S atom as ring members is optionally oxidized and one ormore carbon atoms as ring members are each optionally replaced by acarbonyl group; and wherein ring A is optionally substituted with 1, 2,3, 4 or 5 R⁶ substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q),—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—, —NR¹³SO₂—,—NR¹³SO₂NR¹³—, —NR¹³C(O)O—, —OC(O)NR¹³ or —NR¹³C(O)NR¹³—;

X is N or CR¹⁷;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selected from H, halo, C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a),NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), NR^(a)C(O)OR^(a),NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a),NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a),NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a), S(O)₂R^(a),—P(O)R^(a)R^(a), —P(O)(OR^(a))(OR^(a)), —B(OH)₂, —B(OR^(a))₂ andS(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionallysubstituted with 1, 2, 3, 4 or 5 independently selected R^(b)substituents;

or two R⁶ substituents attached to the same ring carbon atom takentogether with the ring carbon atom to which they are attached form spiroC₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl, each ofwhich is optionally substituted with 1, 2, or 3 independently selectedR^(f) substituents;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂;

R¹⁴ and R¹⁵ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are eachoptionally substituted with 1, 2, or 3 independently selected R^(q)substituents;

or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 independently selected R^(q) substituents;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(d) substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),—P(O)R^(e)R^(e), —P(O)(OR^(e))(OR^(e)), —B(OH)₂, —B(OR^(e))₂ andS(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀ aryl,5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃-10 cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents;

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR)NR^(c)R^(c), NR^(c)C(═NR)NR^(c)R^(c), NHR^(c),NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c), NR^(c)C(O)NR^(c)R^(c),NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c), NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c),S(O)NR^(c)R^(c), S(O)₂R^(c), —P(O)R^(c)R^(c), —P(O)(OR^(c))(OR^(c)),—B(OH)₂, —B(OR^(c))₂ and S(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(b) are each further optionallysubstituted with 1, 2, or 3 independently selected R^(d) substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(g),OR^(g), SR^(g), C(O)R^(g), C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g),OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g), NR^(g)C(O)R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g), —P(O)R^(g)R^(g),—P(O)(OR^(g))(OR^(g)), —B(OH)₂, —B(OR^(g))₂ and S(O)₂NR^(g)R^(g);wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(n) substituents;

each R^(n) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(o),OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o), C(O)OR^(o), OC(O)R^(o),OC(O)NR^(o)R^(o), NHR^(o), NR^(o)R^(o), NR^(o)C(O)R^(o),NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o), C(═NR)NR^(o)R^(o),NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o),NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o), —P(O)R^(o)R^(o),—P(O)(OR^(o))(OR^(o)), —B(OH)₂, —B(OR^(o))₂ and S(O)₂NR^(o)R^(o),wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are each optionally substitutedwith 1, 2 or 3 independently selected R^(q) substituents;

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(g) areeach optionally substituted with 1, 2, or 3 independently selected R^(p)substituents;

each R^(p) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r),OR^(r), SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r), —P(O)R^(r)R^(r),—P(O)(OR^(r))(OR^(r)), —B(OH)₂, —B(OR^(r))₂ and S(O)₂NR^(r)R^(r),wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁-4 alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 independently selected R^(q) substituents;

or any two R^(a) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2or 3 independently selected R^(h) substituents;

each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), —P(O)R^(i)R^(i),—P(O)(OR^(i))(OR^(i)), —B(OH)₂, —B(OR^(i))₂ and S(O)₂NR^(i)R^(i),wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- ofR^(h) are each further optionally substituted by 1, 2, or 3independently selected R^(j) substituents;

each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,NHOR^(k), OR^(k), SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k),OC(O)R^(k), OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k), —P(O)R^(k)R^(k),—P(O)(OR^(k))(OR^(k)), —B(OH)₂, —B(OR^(k))₂ and S(O)₂NR^(k)R^(k),wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-memberedheteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl,C₁₋₄ haloalkyl and C₁₋₄ haloalkoxy of R^(j) are each optionallysubstituted with 1, 2 or 3 independently selected R^(q) substituents;

or two R^(h) groups attached to the same carbon atom of the 4- to10-membered heterocycloalkyl taken together with the carbon atom towhich they are attached form a C₃₋₆ cycloalkyl or 4- to 6-memberedheterocycloalkyl having 1-2 heteroatoms as ring members selected from O,N or S;

or any two R^(c) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(e) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(g) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(i) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(q) substituents;

or any two R^(k) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(q) substituents;

or any two R^(o) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

or any two R^(r) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents;

each R^(i), R^(k), R^(o) or R^(r) is independently selected from H, C₁₋₄alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7membered heterocycloalkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl,C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl,C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o) or R^(r) are eachoptionally substituted with 1, 2 or 3 R^(q) substituents;

each R^(q) is independently selected from halo, OH, CN, —COOH, NH₂,—NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;

the subscript m is an integer of 0, 1, 2 or 3;

the subscript n is an integer of 0, 1, 2 or 3;

each subscript q is independently an integer of 1, 2, 3 or 4; and

the subscript s is an integer of 1, 2, or 3.

In some embodiments, provided herein is a compound of Formula (I):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₄ cycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, 4 or 5 R⁶substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q),—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—, —NR¹³SO₂—,—NR¹³SO₂NR¹³—, —NR¹³C(O)O—, —OC(O)NR¹³ or —NR¹³C(O)NR¹³—;

X is N or CR¹⁷;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selected from H, halo, C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a),NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), NR^(a)C(O)OR^(a),NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a),NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a),NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a), S(O)₂R^(a), andS(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionallysubstituted with 1, 2, 3, 4 or 5 independently selected R^(b)substituents;

or two R⁶ substituents attached to the same ring carbon atom takentogether with the ring carbon atom to which they are attached form spiroC₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl, each ofwhich is optionally substituted with 1, 2, or 3 independently selectedR^(f) substituents;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂;

R¹⁴ and R¹⁵ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are eachoptionally substituted with 1, 2, or 3 independently selected R^(q)substituents;

or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 independently selected R^(q) substituents;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(d) substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents;

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR)NR^(c)R^(c), NR^(c)C(═NR)NR^(c)R^(c), NHR^(c),NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c), NR^(c)C(O)NR^(c)R^(c),NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c), NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c),S(O)NR^(c)R^(c), S(O)₂R^(c) and S(O)₂NR^(c)R^(c); wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(b) are each further optionallysubstituted with 1, 2, or 3 independently selected R^(d) substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(g),OR^(g), SR^(g), C(O)R^(g), C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g),OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g), NR^(g)C(O)R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g), and S(O)₂NR^(g)R^(g); whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(n) substituents;

each R^(n) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(o),OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o), C(O)OR^(o), OC(O)R^(o),OC(O)NR^(o)R^(o), NHR^(o), NR^(o)R^(o), NR^(o)C(O)R^(o),NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o), C(═NR)NR^(o)R^(o),NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o),NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o), and S(O)₂NR^(o)R^(o), whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are each optionally substitutedwith 1, 2 or 3 independently selected R^(q) substituents;

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(g) areeach optionally substituted with 1, 2, or 3 independently selected R^(p)substituents;

each R^(p) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r),OR^(r), SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r) and S(O)₂NR^(r)R^(r), whereinthe C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 independently selected R^(q) substituents;

or any two R^(a) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2 or 3independently selected R^(h) substituents;

each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), and S(O)₂NR^(i)R^(i), whereinthe C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, 4-7membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- ofR^(h) are each further optionally substituted by 1, 2, or 3independently selected R^(j) substituents;

each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,NHOR^(k), OR^(k), SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k),OC(O)R^(k), OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k), and S(O)₂NR^(k)R^(k), wherein theC₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-membered heteroaryl,4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl, C₁₋₄haloalkyl and C₁₋₄ haloalkoxy of R^(j) are each optionally substitutedwith 1, 2 or 3 independently selected R^(q) substituents;

or two R^(h) groups attached to the same carbon atom of the 4- to10-membered heterocycloalkyl taken together with the carbon atom towhich they are attached form a C₃₋₆ cycloalkyl or 4- to 6-memberedheterocycloalkyl having 1-2 heteroatoms as ring members selected from O,N or S;

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(e) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(g) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(i) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents, or 1, 2, or 3 independentlyselected R^(q) substituents;

or any two R^(k) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents, or 1, 2, or 3 independentlyselected R^(q) substituents;

or any two R^(o) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(r) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

each R^(i), R^(k), R^(o) or R^(r) is independently selected from H, C₁₋₄alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7membered heterocycloalkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl,C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl,C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o) or R^(r) are eachoptionally substituted with 1, 2 or 3 R^(q) substituents;

each R^(q) is independently selected from halo, OH, CN, —COOH, NH₂,—NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;

the subscript m is an integer of 0, 1, 2 or 3;

the subscript n is an integer of 0, 1, 2 or 3;

each subscript q is independently an integer of 1, 2, 3 or 4; and

the subscript s is an integer of 1, 2, or 3.

In some embodiments, provided herein is a compound of Formula (I), or apharmaceutically acceptable salt or a stereoisomer thereof, wherein:

ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₄ cycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, 4 or 5 R⁶substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q),—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—, —NR¹³SO₂—,—NR¹³SO₂NR¹³—, —NR¹³C(O)O—, —OC(O)NR¹³ or —NR¹³C(O)NR¹³—;

X is N or CR¹⁷;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selected from H, halo, C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a),NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), NR^(a)C(O)OR^(a),NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a),NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a),NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a), S(O)₂R^(a), andS(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionallysubstituted with 1, 2, 3, 4 or 5 independently selected R^(b)substituents;

or two R⁶ substituents attached to the same ring carbon atom takentogether with the ring carbon atom to which they are attached form spiroC₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl, each ofwhich is optionally substituted with 1, 2, or 3 independently selectedR^(f) substituents;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂;

R¹⁴ and R¹⁵ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are eachoptionally substituted with 1, 2, or 3 independently selected R^(q)substituents;

or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 independently selected R^(q) substituents;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(d) substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents;

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR)NR^(c)R^(c), NR^(c)C(═NR)NR^(c)R^(c), NHR^(c),NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c), NR^(c)C(O)NR^(c)R^(c),NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c), NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c),S(O)NR^(c)R^(c), S(O)₂R^(c) and S(O)₂NR^(c)R^(c); wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(b) are each further optionallysubstituted with 1, 2, or 3 independently selected R^(d) substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(g),OR^(g), SR^(g), C(O)R^(g), C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g),OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g), NR^(g)C(O)R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g), and S(O)₂NR^(g)R^(g); whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(n) substituents;

each R^(n) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(o),OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o), C(O)OR^(o), OC(O)R^(o),OC(O)NR^(o)R^(o), NHR^(o), NR^(o)R^(o), NR^(o)C(O)R^(o),NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o), C(═NR^(o))NR^(o)R^(o),NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o),NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o), and S(O)₂NR^(o)R^(o), whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are each optionally substitutedwith 1, 2 or 3 independently selected R^(q) substituents;

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(g) areeach optionally substituted with 1, 2, or 3 independently selected R^(p)substituents;

each R^(p) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r),OR^(r), SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r) and S(O)₂NR^(r)R^(r), whereinthe C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 independently selected R^(q) substituents;

or any two R^(a) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2 or 3independently selected R^(h) substituents;

each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), and S(O)₂NR^(i)R^(i), whereinthe C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, 4-7membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- ofR^(h) are each further optionally substituted by 1, 2, or 3independently selected R^(j) substituents;

each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,NHOR^(k), OR^(k), SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k),OC(O)R^(k), OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k), and S(O)₂NR^(k)R^(k), whereinthe C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-memberedheteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl,C₁₋₄ haloalkyl and C₁₋₄ haloalkoxy of R^(j) are each optionallysubstituted with 1, 2 or 3 independently selected R^(q) substituents;

or two R^(h) groups attached to the same carbon atom of the 4- to10-membered heterocycloalkyl taken together with the carbon atom towhich they are attached form a C₃₋₆ cycloalkyl or 4- to 6-memberedheterocycloalkyl having 1-2 heteroatoms as ring members selected from O,N or S;

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(e) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(g) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(i) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(k) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(o) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(r) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

each R^(i), R^(k), R^(o) or R^(r) is independently selected from H, C₁₋₄alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7membered heterocycloalkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl,C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl,C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o) or R^(r) are eachoptionally substituted with 1, 2 or 3 R^(q) substituents;

each R^(q) is independently selected from halo, OH, CN, —COOH, NH₂,—NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;

the subscript m is an integer of 0, 1, 2 or 3;

the subscript n is an integer of 0, 1, 2 or 3;

each subscript q is independently an integer of 1, 2, 3 or 4; and

the subscript s is an integer of 1, 2, or 3.

In some embodiments, provided herein is a compound of Formula (I), or apharmaceutically acceptable salt or a stereoisomer thereof, wherein:

ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₄ cycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, 4 or 5 R⁶substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q)—,—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C═C—, —SO₂NR¹³—, —NR¹³SO₂—,—NR¹³SO₂NR¹³—, —NR¹³C(O)O—, —OC(O)NR¹³ or —NR¹³C(O)NR¹³—;

X is N or CR¹⁷;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selected from H, halo, C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a),NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), NR^(a)C(O)OR^(a),NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a),NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a),NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a), S(O)₂R^(a), andS(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionallysubstituted with 1, 2, 3, 4 or 5 independently selected R^(b)substituents;

or two R⁶ substituents attached to the same ring carbon atom takentogether with the ring carbon atom to which they are attached form spiroC₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl, each ofwhich is optionally substituted with 1, 2, or 3 independently selectedR^(f) substituents;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂;

R¹⁴ and R¹⁵ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are eachoptionally substituted with 1, 2, or 3 independently selected R^(q)substituents;

or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 independently selected R^(q) substituents;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(d) substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents;

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c),NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c),NR^(c)C(O)NR^(c)R^(c), NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c),NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c), S(O)NR^(c)R^(c), S(O)₂R^(c) andS(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(b) are each further optionally substituted with 1, 2, or 3independently selected R^(d) substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(g),OR^(g), SR^(g), C(O)R^(g), C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g),OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g), NR^(g)C(O)R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g), and S(O)₂NR^(g)R^(g); whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(n) substituents;

each R^(n) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(o),OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o), C(O)OR^(o), OC(O)R^(o),OC(O)NR^(o)R^(o), NHR^(o), NR^(o)R^(o), NR^(o)C(O)R^(o),NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o), C(═NR^(o))NR^(o)R^(o),NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o),NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o), and S(O)₂NR^(o)R^(o), whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are each optionally substitutedwith 1, 2 or 3 independently selected R^(q) substituents;

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(g) areeach optionally substituted with 1, 2, or 3 independently selected R^(p)substituents;

each R^(p) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r),OR^(r), SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r) and S(O)₂NR^(r)R^(r), whereinthe C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 independently selected R^(q) substituents;

or any two R^(a) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2 or 3independently selected R^(h) substituents;

each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), and S(O)₂NR^(i)R^(i), whereinthe C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, 4-7membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- ofR^(h) are each further optionally substituted by 1, 2, or 3independently selected R^(j) substituents;

each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,NHOR^(k), OR^(k), SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k),OC(O)R^(k), OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k), and S(O)₂NR^(k)R^(k), whereinthe C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-memberedheteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl,C₁₋₄ haloalkyl and C₁₋₄haloalkoxy of R^(j) are each optionallysubstituted with 1, 2 or 3 independently selected R^(q) substituents;

or two R^(h) groups attached to the same carbon atom of the 4- to10-membered heterocycloalkyl taken together with the carbon atom towhich they are attached form a C₃₋₆ cycloalkyl or 4- to 6-memberedheterocycloalkyl having 1-2 heteroatoms as ring members selected from O,N or S;

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(e) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(g) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(i) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(q) substituents;

or any two R^(k) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(q) substituents;

or any two R^(o) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(r) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

each R^(i), R^(k), R^(o) or R^(r) is independently selected from H, C₁₋₄alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7membered heterocycloalkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl,C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl,C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o) or R^(r) are eachoptionally substituted with 1, 2 or 3 R^(q) substituents;

each R^(q) is independently selected from halo, OH, CN, —COOH, NH₂,—NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;

the subscript m is an integer of 0, 1, 2 or 3;

the subscript n is an integer of 0, 1, 2 or 3;

each subscript q is independently an integer of 1, 2, 3 or 4; and

the subscript s is an integer of 1, 2, or 3.

In some embodiments, provided herein is a compound of Formula (I), or apharmaceutically acceptable salt or a stereoisomer thereof, wherein:

ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₀ cycloalkyl, wherein the 5- to10-membered heteroaryl and 4- to 11-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, 4 or 5independently selected R⁶ substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q)—,—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—, —NR¹³SO₂—,—NR¹³SO₂NR¹³—, —NR¹³C(O)O— or —NR¹³C(O)NR¹³—;

X is N or CR¹⁷;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selected from H, halo, C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a),NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), NR^(a)C(O)OR^(a),NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a),NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a),NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a), S(O)₂R^(a), andS(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionallysubstituted with 1, 2, 3, 4 or 5 independently selected R^(b)substituents;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂;

R¹⁴ and R¹⁵ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are eachoptionally substituted with 1, 2, or 3 independently selectedindependently selected R^(q) substituents;

or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 independently selected R^(q) substituents;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(d) substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(q) substituents;

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(q) substituents;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c),NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c),NR^(c)C(O)NR^(c)R^(c), NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c),NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c), S(O)NR^(c)R^(c), S(O)₂R^(c) andS(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(b) are each further optionally substituted with 1, 2, or 3independently selected R^(d) substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(d) substituents;

or any two R^(a) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2 or 3independently selected R^(h) substituents;

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

or any two R^(e) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents;

each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), and S(O)₂NR^(i)R^(i), whereinthe C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃-10 cycloalkyl, 4-7membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- ofR^(h) are each further optionally substituted by 1, 2, or 3independently selected R^(j) substituents;

each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,NHOR^(k), OR^(k), SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k),OC(O)R^(k), OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k), and S(O)₂NR^(k)R^(k), whereinthe C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-memberedheteroaryl, 4-6 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl,C₁₋₄ haloalkyl, and C₁₋₄ haloalkoxy of R^(j) are each optionallysubstituted with 1, 2 or 3 independently selected R^(q) substituents;

each of R^(i) and R^(k) is independently selected from H, C₁₋₄ alkyl,C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 memberedheterocycloalkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄ alkenyl, andC₂₋₄ alkynyl, wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, andC₂₋₄ alkynyl of R^(i) or R^(k) are each optionally substituted with 1, 2or 3 independently selected R^(q) substituents;

each R^(q) is independently selected from halo, OH, CN, —COOH, NH₂,—NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;

the subscript m is an integer of 0, 1, 2 or 3;

the subscript n is an integer of 0, 1, 2 or 3;

each subscript q is independently an integer of 1, 2, 3 or 4; and

the subscript s is an integer of 1, 2, or 3.

In some embodiments, provided herein is a compound of Formula (I), or apharmaceutically acceptable salt or a stereoisomer thereof, wherein:

ring A is 5- to 10-membered heteroaryl, 4- to 11-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₀ cycloalkyl, wherein the 5- to10-membered heteroaryl and 4- to 11-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, 4 or 5 R⁶substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q)—,—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—, —NR¹³SO₂—, —NR¹³C(O)O—or —NR¹³C(O)NR¹³—;

X is N or CR¹⁷;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selected from H, halo, C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a),NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), NR^(a)C(O)OR^(a),NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a),NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a),NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a), S(O)₂R^(a), andS(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionallysubstituted with 1, 2, 3, 4 or 5 R^(b) substituents;

or two R⁶ substituents attached to the same ring carbon atom takentogether with the ring carbon atom to which they are attached form spiroC₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl, each ofwhich is optionally substituted with 1, 2, or 3 independently selectedR^(f) substituents;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂;

R¹⁴ and R¹⁵ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are eachoptionally substituted with 1, 2, or 3 independently selected R^(q)substituents;

or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 R^(q) substituents;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-10 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 R^(d) substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, C₆₋₁₀ aryl, 5-10 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-10membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀aryl, 5-10 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁-4 alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents;

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c),NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c),NR^(c)C(O)NR^(c)R^(c), NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c),NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c), S(O)NR^(c)R^(c), S(O)₂R^(c) andS(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(b) are each further optionally substituted with 1, 2, or 3independently selected R^(d) substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 R^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(g),OR^(g), SR^(g), C(O)R^(g), C(O)NR^(g)R^(g), C(O)OR, OC(O)R^(g),OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g), NR^(g)C(O)R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g), and S(O)₂NR^(g)R^(g); whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are each optionally substitutedwith 1, 2, 3, 4, or 5 R^(n) substituents;

each R^(n) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(o),OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o), C(O)OR^(o), OC(O)R^(o),OC(O)NR^(o)R^(o), NHR^(o), NR^(o)R^(o), NR^(o)C(O)R^(o),NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o), C(═NR^(o))NR^(o)R^(o),NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o),NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o), and S(O)₂NR^(o)R^(o), whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are each optionally substitutedwith 1, 2 or 3 independently selected R^(q) substituents;

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(g) are eachoptionally substituted with 1, 2, or 3 R^(p) substituents;

each R^(p) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r),OR^(r), SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r) and S(O)₂NR^(r)R^(r), whereinthe C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 R^(q) substituents;

or any two R^(a) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2 or 3 R^(h)substituents;

each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), and S(O)₂NR^(i)R^(i), whereinthe C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃-10 cycloalkyl, 4-7membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- ofR^(h) are each further optionally substituted by 1, 2, or 3 R^(j)substituents;

each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, CN, NHOR^(k), OR^(k),SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k), OC(O)R^(k),OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k), and S(O)₂NR^(k)R^(k), whereinthe C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-memberedheteroaryl, 4-6 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl,C₁₋₄ haloalkyl, and C₁₋₄ haloalkoxy of R^(j) are each optionallysubstituted with 1, 2 or 3 independently selected R^(q) substituents;

or two R^(h) groups attached to the same carbon atom of the 4- to10-membered heterocycloalkyl taken together with the carbon atom towhich they are attached form a C₃₋₆ cycloalkyl or 4- to 6-memberedheterocycloalkyl having 1-2 heteroatoms as ring members selected from O,N or S;

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

or any two R^(e) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

or any two R^(g) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

or any two R^(i) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents, or 1, 2, or 3 independently selected R^(q)substituents;

or any two R^(k) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents, or 1, 2, or 3 independently selected R^(q)substituents;

or any two R^(o) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

or any two R^(r) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

each R^(i), R^(k), R^(o) or R^(r) is independently selected from H, C₁₋₄alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7membered heterocycloalkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl,C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl,C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o) or R^(r) are eachoptionally substituted with 1, 2 or 3 R^(q) substituents;

each R^(q) is independently selected from halo, OH, CN, —COOH, NH₂,—NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;

the subscript m is an integer of 0, 1, 2 or 3;

the subscript n is an integer of 0, 1, 2 or 3;

each subscript q is independently an integer of 1, 2, 3 or 4; and

the subscript s is an integer of 1, 2, or 3.

In some embodiments, provided herein is a compound of Formula (I) or apharmaceutically acceptable salt or a stereoisomer thereof, wherein:

ring A is 5- to 10-membered heteroaryl, 4- to 11-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₀ cycloalkyl, wherein the 5- to10-membered heteroaryl and 4- to 11-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, 4 or 5 R⁶substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q),—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—, NR¹³SO₂, —NR¹³C(O)O— or—NR¹³C(O)NR¹³—;

X is N or CR¹⁷;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;

R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selected from H, halo, C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a),NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), NR^(a)C(O)OR^(a),NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a),NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a),NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a), S(O)₂R^(a), andS(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶ are each optionally substituted with1, 2, 3, 4 or 5 R^(b) substituents;

or two R⁶ substituents attached to the same ring carbon atom takentogether with the ring carbon atom to which they are attached form spiroC₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl, each ofwhich is optionally substituted with 1, 2, or 3 independently selectedR^(f) substituents;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂;

R¹⁴ and R¹⁵ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are eachoptionally substituted with 1, 2, or 3 independently selected R^(q)substituents;

or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 R^(q) substituents;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-10 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 R^(d) substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, C₆₋₁₀ aryl, 5-10 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-10membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀aryl, 5-10 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents;

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c),NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c),NR^(c)C(O)NR^(c)R^(c), NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c),NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c), S(O)NR^(c)R^(c), S(O)₂R^(c) andS(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(b) are each further optionally substituted with 1, 2, or 3independently selected R^(d) substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 R^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(g),OR^(g), SR^(g), C(O)R, C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g),OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g), NR^(g)C(O)R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g), and S(O)₂NR^(g)R^(g); whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are each optionally substitutedwith 1, 2, 3, 4, or 5 R^(n) substituents;

each R^(n) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(o),OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o), C(O)OR^(o), OC(O)R^(o),OC(O)NR^(o)R^(o), NHR^(o), NR^(o)R^(o), NR^(o)C(O)R^(o),NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o), C(═NR^(o))NR^(o)R^(o),NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o),NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o), and S(O)₂NR^(o)R^(o), whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are each optionally substitutedwith 1, 2 or 3 independently selected R^(q) substituents;

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(g) areeach optionally substituted with 1, 2, or 3 R^(p) substituents;

each R^(p) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r),OR^(r), SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r) and S(O)₂NR^(r)R^(r), whereinthe C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 R^(q) substituents;

or any two R^(a) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2 or 3 R^(h)substituents;

each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), and S(O)₂NR^(i)R^(i), whereinthe C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, 4-7membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- ofR^(h) are each further optionally substituted by 1, 2, or 3 R^(j)substituents;

each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, CN, NHOR^(k), OR^(k),SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k), OC(O)R^(k),OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k), and S(O)₂NR^(k)R^(k), whereinthe C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-memberedheteroaryl, 4-6 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl,C₁₋₄ haloalkyl, and C₁₋₄ haloalkoxy of R^(j) are each optionallysubstituted with 1, 2 or 3 independently selected R^(q) substituents; ortwo R^(h) groups attached to the same carbon atom of the 4- to10-membered heterocycloalkyl taken together with the carbon atom towhich they are attached form a C₃₋₆ cycloalkyl or 4- to 6-memberedheterocycloalkyl having 1-2 heteroatoms as ring members selected from O,N or S;

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

or any two R^(e) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

or any two R^(g) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

or any two R^(i) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents, or 1, 2, or 3 independently selected R^(q)substituents;

or any two R^(k) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents, or 1, 2, or 3 independently selected R^(q)substituents;

or any two R^(o) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

or any two R^(r) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

each R^(i), R^(k), R^(o) or R^(r) is independently selected from H, C₁₋₄alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7membered heterocycloalkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl,C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl,C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o) or R^(p) are eachoptionally substituted with 1, 2 or 3 R^(q) substituents;

each R^(q) is independently selected from halo, OH, CN, —COOH, NH₂,—NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;

the subscript m is an integer of 0, 1, 2 or 3;

the subscript n is an integer of 0, 1, 2 or 3;

the subscript p is an integer of 1, 2, 3 or 4;

each subscript q is independently an integer of 1, 2, 3 or 4; and

the subscript s is an integer of 1, 2, or 3.

In some embodiments, any two R^(i) substituents together with thenitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(q) substituents;

or any two R^(k) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(q) substituents.

In some embodiments, provided herein is a compound of Formula (I) or apharmaceutically acceptable salt or a stereoisomer thereof, wherein (1)when L is —C(O)NH—, ring A is not4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridin-2-yl; (2) when L is a bond,ring A is not [1,2,4]triazolo[1,5-a]pyridin-2-yl; (3) when L is a bond,ring A is not 2-benzoxazolyl; and (4) when L is —C(O)NH—, ring A is not2-pyridyl.

In some embodiments, provided herein is a compound of Formula (I) or apharmaceutically acceptable salt or a stereoisomer thereof, wherein (1)when L is —C(O)NH—, ring A is not4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridin-2-yl; (2) when L is a bond,ring A is not [1,2,4]triazolo[1,5-a]pyridin-2-yl; (3) when L is a bond,ring A is not 2-benzoxazolyl; or (4) when L is —C(O)NH—, ring A is not2-pyridyl.

In some embodiments, provided herein is a compound of Formula (Ia):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

R¹⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂, wherein the C₁₋₄alkyl and C₁₋₄ alkoxy are each optionally substituted with 1 or 2substituents independently selected from CN, halo and —C(O)NH₂; one ofR¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H, C₁₋₄ alkyl, C₁₋₄alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂,—NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂, wherein the C₁₋₄ alkyl and C₁₋₄ alkoxyof R¹ or R² is optionally substituted with 1 or 2 substituentsindependently selected from C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, OH, —COOH, —C(O)NH₂, NH₂, —NHC₁₋₄ alkyl and—N(C₁₋₄ alkyl)₂;

R⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂, wherein the C₁₋₄alkyl and C₁₋₄ alkoxy are each optionally substituted with 1 or 2substituents independently selected from CN, halo or —C(O)NH₂;

R⁸ and R⁹ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R⁸ or R⁹ are eachoptionally substituted with 1, 2 or 3 independently selected R^(q)substituents;

or R⁸ and R⁹ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 4-, 5-, 6- or7-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 R^(q) substituents;

or R⁸ and R¹⁰ taken together with the atoms to which they are attachedform 4-, 5-, 6- or 7-membered heterocycloalkyl, having zero to oneadditional heteroatoms as ring members selected from O, N or S, whereinthe 4-, 5-, 6- or 7-membered heterocycloalkyl formed by R⁸ and R¹⁰ areeach optionally substituted with 1 or 2 R^(q) substituents;

R¹⁰ and R¹¹ are each independently selected from H, C₁₋₆ alkyl, C₁₋₆haloalkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5-10 membered heteroaryl, 4-10membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₆ cycloalkyl-C₁₋₄alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, —C(O)R^(g), —C(O)OR^(g),—C(O)NR^(g)R^(g), —SO₂R and —SO₂NR^(g)R^(g), wherein the C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₆cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R¹⁰ or R¹¹ are eachoptionally substituted with 1, 2, or 3 independently selected R^(d)substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6-, 7-, 8-, 9-, 10-, or 11-memberedheterocycloalkyl, wherein the 4-1 membered heterocycloalkyl is eachoptionally substituted with 1, 2 or 3 R^(f) substituents;

R¹² is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂; and

the subscript p is an integer of 1, 2, 3 or 4.

In some embodiments, provided herein is a compound of Formula (Ia), or apharmaceutically acceptable salt or a stereoisomer thereof, wherein:

R¹⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂, wherein the C₁₋₄alkyl and C₁₋₄ alkoxy are each optionally substituted with 1 or 2substituents independently selected from CN, halo and —C(O)NH₂;

one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H, C₁₋₄ alkyl,C₁₋₄ alkoxy, C₁-4 haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂,—NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂, wherein the C₁₋₄ alkyl and C₁₋₄ alkoxyof R¹ or R² is optionally substituted with 1 or 2 substituentsindependently selected from C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, OH, —COOH, —C(O)NH₂, NH₂, —NHC₁₋₄ alkyl and—N(C₁₋₄ alkyl)₂;

R⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂, wherein the C₁₋₄alkyl and C₁₋₄ alkoxy are each optionally substituted with 1 or 2substituents independently selected from CN, halo or —C(O)NH₂;

R⁸ and R⁹ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl of R⁸ or R⁹ are eachoptionally substituted with 1, 2 or 3 independently selected R^(q)substituents;

or R⁸ and R⁹ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 4-, 5-, 6- or7-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 R^(q) substituents;

or R⁸ and R¹⁰ taken together with the atoms to which they are attachedform 4-, 5-, 6- or 7-membered heterocycloalkyl, having zero to oneadditional heteroatoms as ring members selected from O, N or S, whereinthe 4-, 5-, 6- or 7-membered heterocycloalkyl formed by R⁸ and R¹⁰ areeach optionally substituted with 1 or 2 R^(q) substituents;

R¹⁰ and R¹¹ are each independently selected from H, C₁₋₆ alkyl, C₁₋₆haloalkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5-10 membered heteroaryl, 4-10membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₆ cycloalkyl-C₁₋₄alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, —C(O)R^(g), —C(O)OR^(g),—C(O)NR^(g)R^(g), —SO₂R^(g) and —SO₂NR^(g)R^(g), wherein the C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₆cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R¹⁰ or R¹¹ are eachoptionally substituted with 1, 2, or 3 independently selected R^(d)substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6-, 7-, 8-, 9-, 10-, or 11-memberedheterocycloalkyl, wherein the 4-1 membered heterocycloalkyl is eachoptionally substituted with 1, 2 or 3 R^(f) substituents; and

R¹² is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂.

In some embodiments, the compound provided herein is a compound havingFormula (II):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, the compound provided herein is a compound havingFormula (IIa):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, the compound provided herein is a compound havingFormula (IIa-1):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

ring A is 5- to 10-membered heteroaryl, 4- to 11-memberedheterocycloalkyl or C₆₋₁₀ aryl, wherein the 5- to 10-membered heteroaryland 4- to 11-membered heterocycloalkyl each has 1-4 heteroatoms as ringmembers selected from N, O and S, wherein the N or S atom as ringmembers is optionally oxidized and one or more carbon atoms as ringmembers are each optionally replaced by a carbonyl group; and whereinring A is optionally substituted with 1, 2 or 3 R⁶ substituents; L is abond, —C(O)NH—, —NH— or —OCH₂—, wherein the carbonyl group in the—C(O)NH— linkage or the oxygen atom in the —OCH₂— linkage is attached toring A; and

X is CH or N.

In some embodiments, the compound provided herein is a compound havingFormula (IIa-2):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, the compound provided herein is a compound havingFormula (IIb):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, the compound provided herein is a compound havingFormula (IIc):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

X¹, X², X³, X⁴, X⁵ and X⁶ are each independently N or CH, with theproviso that X¹, X⁵ and X⁶ are not simultaneously N;

R¹³ is H or C₁₋₄ alkyl; and

the subscript r is an integer of 1, 2 or 3.

In some embodiments, the compound provided herein is a compound havingFormula (IIc-1):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, R¹³ is H.

In some embodiments, the compound provided herein is a compound havingFormula (IId):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

R¹³ is H or C₁₋₄ alkyl;

R¹⁹ is H, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, or (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R¹⁸ are each optionallysubstituted with 1, 2, or 3 R^(b) substituents; and

the subscript t is an integer of 0, 1 or 2.

In some embodiments, the compound provided herein is a compound havingFormula (IId-1):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, the compound provided herein is a compound havingFormula (IIe):

or a pharmaceutically acceptable salt or a stereoisomer thereof.In some embodiments, the compound provided herein is a compound havingFormula (IIf):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, the compound provided herein is a compound havingFormula (III):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, the compound provided herein is a compound havingFormula (IIIa):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, the compound provided herein is a compound havingFormula (IIIb):

or a pharmaceutically acceptable salt or a stereoisomer thereof.

In some embodiments, provided herein are compounds having Formula (IV):

or a pharmaceutically acceptable salt or a stereoisomer thereof, whereinthe subscript r is 1, 2, 3, 4 or 5. In some embodiments, X is N or CH.In one embodiment, ring A is pyridyl, for example, 2-pyridyl. In someembodiments, the subscript n is 0, 1 or 2 and each R⁵ is independentlyC₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH,—COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂. In certain instances, R⁵is halo or C₁₋₄ alkyl. In some embodiments, the subscript m is 0. Insome embodiments, the subscript r is 1 or 2. In some embodiments, R¹² isH, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo,—COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂. In one embodiment, R² isH. In some embodiments, the subscript p is 1 and R⁸ and R⁹ are each H.In one embodiment, R¹⁰ is H. In some embodiments, R⁸ and R¹⁰ takentogether form 4- to 6-membered heterocycloalkyl, optionally substitutedwith 1 or 2 R^(q) substituents. In some embodiments, R¹⁰ and R¹¹ takentogether form 4- to 6-membered heterocycloalkyl, optionally substitutedwith 1 or 2 R^(q) substituents.

In some embodiments, provided herein are compounds having Formula (V):

or a pharmaceutically acceptable salt or a stereoisomer thereof, whereinthe subscript r is 1, 2, 3, 4 or 5, the other variables of Formula (V)are as defined in any embodiment disclosed herein. In some embodiments,the subscript r is 1 or 2.

In some embodiments, provided herein are compounds having Formula (VI):

or a pharmaceutically acceptable salt or a stereoisomer thereof, whereinthe subscript r is 1, 2, 3, 4 or 5, the other variables of Formula (VI)are as defined in any embodiment disclosed herein. In some embodiments,the subscript r is 1 or 2.

In some embodiments, provided herein are compounds having Formula (VIIa)or (VIIb):

or a pharmaceutically acceptable salt or a stereoisomer thereof, whereinthe subscript r is 1, 2, 3, 4 or 5, the other variables of Formula(VIIa) or (VIIb) are as defined in any embodiment disclosed herein. Insome embodiments, the subscript r is 1 or 2.

In some embodiments, provided herein are compounds having Formula(VIIIa) or (VIIIb):

or a pharmaceutically acceptable salt or a stereoisomer thereof, whereinthe subscript r is 1, 2, 3, 4 or 5, the other variables of Formula(VIIIa) or (VIIIb) are as defined in any embodiment disclosed herein. Insome embodiments, the subscript r is 1 or 2.

In some embodiments, ring A is 5- to 14-membered heteroaryl, 4- to14-membered heterocycloalkyl or C₆₋₁₀ aryl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, or 4 R⁶substituents. In some embodiments, ring A is 5- to 14-memberedheteroaryl or 4- to 14-membered heterocycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, or 3 R⁶substituents. In some embodiments, ring A is 5- to 14-memberedheteroaryl, wherein the 5- to 14-membered heteroaryl has 1-4 heteroatomsas ring members selected from N, O and S, wherein the N or S atom asring members is optionally oxidized and one or more carbon atoms as ringmembers are each optionally replaced by a carbonyl group; and whereinring A is optionally substituted with 1, 2, or 3 R⁶ substituents. Insome embodiments, ring A is 4- to 14-membered heterocycloalkyl, whereinthe 4- to 14-membered heterocycloalkyl has 1-4 heteroatoms as ringmembers selected from N, O and S, wherein the N or S atom as ringmembers is optionally oxidized and one or more carbon atoms as ringmembers are each optionally replaced by a carbonyl group; and whereinring A is optionally substituted with 1, 2, or 3 R⁶ substituents.

In some embodiments, ring A is selected from:

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; R¹⁶ is C₁₋₆alkyl; and the wavy line indicates the point of attachment to L.

In some embodiments, ring A is selected from:

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; and the wavyline indicates the point of attachment to L.

In some embodiments, ring A is selected from:

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; and the wavyline indicates the point of attachment to L.

In some embodiments, ring A is selected from:

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; and the wavyline indicates the point of attachment to L.

In some embodiments, ring A is

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; and the wavyline indicates the point of attachment to L.

In some embodiments, ring A is selected from:

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; R¹⁶ is C₁₋₆alkyl; and the wavy line indicates the point of attachment to L.

In some embodiments, ring A is selected from:

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; and the wavyline indicates the point of attachment to L.

In some embodiments, ring A is

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; and the wavyline indicates the point of attachment to L.

In some embodiments, ring A is 2-pyridyl, optionally substituted with 1,2, 3, or 4 independently selected R⁶ substituents.

In some embodiments, ring A is

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; and the wavyline indicates the point of attachment to L.

In some embodiments, ring A is selected from:

wherein each subscript r is an integer of 1, 2 or 3.

In some embodiments, ring A is selected from:

In some embodiments, L is a bond, —C(O)NR¹³—, —NR¹³C(O)—,—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, or —CH═CH—. In someembodiments, L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, —(CR¹⁴R¹⁵)_(q)—O—,—O(CR¹⁴R¹⁵)_(q)—, or —NR¹³—. In some embodiments, L is —C(O)NR¹³,—NR¹³C(O)—, —(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, or —NR¹³—. In someembodiments, L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, —NR¹³—, or —CH═CH—. Insome embodiments, L is a bond, —NH—, —CH═CH— or —C(O)NH—, wherein thecarbonyl group in the —C(O)NH— linkage is attached to ring A. In someembodiments, L is a bond. In some embodiments, L is —C(O)NR¹³— (e.g.,—C(O)NH—), wherein the carbonyl group is attached to ring A. In someembodiments, L is a bond, —NR¹³—, —(CR¹⁴R¹⁵)_(q)O—, —O(CR¹⁴R¹⁵)_(q)—,—(CR¹⁴R¹⁵)_(q)NR¹³— or —NR¹³—(CR¹⁴R¹⁵)_(q)—, wherein the subscript q is1, 2 or 3. In certain instances, R¹⁴ and R¹⁵ are each independently H orC₁₋₄ alkyl. In other instances, R¹⁴ and R¹⁵ taken together form C₃₋₆cycloalkyl or 4-6-membered heterocycloalkyl, each of which is optionallysubstituted with 1 or 2 R^(q) substituents.

In some embodiments, L is a bond.

In some embodiments, L is —NR¹³—. In certain instances, R¹³ is H or C₁₋₄alkyl.

In some embodiments, L is —CH₂O— or —OCH₂—.

In some embodiments, L is —NR¹³CH₂— or —CH₂NR¹³. In certain instances,R¹³ is H or C₁₋₄ alkyl.

In some embodiments, L is —C(O)NH—.

In some embodiments, L is —NH—.

In some embodiments, the subscript m is 0, 1, or 2. In some embodiments,the subscript m is 0 or 1. In some embodiments, the subscript m is 0.

In some embodiments, R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, or OH. In some embodiments, R⁵ is C₁₋₄ alkyl, C₁₋₄alkoxy, CN, halo, or OH. In some embodiments, R⁵ is C₁₋₄ alkyl or halo.In some embodiments, R⁵ is C₁₋₄ alkyl (e.g., methyl). In someembodiments, R⁵ is halo (e.g., C₁).

In some embodiments, the subscript n is an integer of 0, 1, or 2. Insome embodiments, the subscript n is an integer of 1 or 2. In someembodiments, the subscript n is an integer of 1.

In some embodiments, the subscript n is 1 and R⁵ is halo or C₁₋₄ alkyl.In some embodiments, the subscript n is 1 and R⁵ is halo. In someembodiments, the subscript n is 1 and R⁵ is C₁₋₄ alkyl.

In some embodiments, R³ is methyl, halo, or CN. In some embodiments, R³is methyl. In some embodiments, R³ is halo (e.g., Cl). In someembodiments, R³ is CN. In some embodiments, R³ is methyl, CN or Cl.

In some embodiments, R¹² is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, CN, halo, or OH. In some embodiments, R¹² is H, halo,CN, C₁₋₄ alkyl or C₁₋₄ alkoxy. In some embodiments, R¹² is H, halo, orC₁₋₄ alkoxy. In some embodiments, R¹² is H.

In some embodiments, R⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, CN, halo, or OH, wherein the C₁₋₄ alkyl and C₁₋₄ alkoxyare each optionally substituted with 1 or 2 substituents independentlyselected from CN, halo and —C(O)NH₂. In some embodiments, R⁷ is H, halo,CN, C₁₋₄ alkyl, C₁₋₄ alkoxy or C₁₋₄ haloalkoxy, wherein the C₁₋₄ alkyland C₁₋₄ alkoxy of R⁷ are each optionally substituted with CN. In someembodiments, R⁷ is H, halo, CN, or C₁₋₄ alkyl. In some embodiments, R⁷is H or C₁₋₄ alkyl. In some embodiments, R⁷ is H.

In some embodiments, one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and theother is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy,CN, halo, or OH, wherein the C₁₋₄ alkyl and C₁₋₄ alkoxy of R¹ or R² isoptionally substituted with 1 or 2 substituents independently selectedfrom C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, and OH. Insome embodiments, one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the otheris H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, or C₁₋₄ haloalkoxy. Insome embodiments, one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the otheris H or C₁₋₄ alkyl. In some embodiments, one of R¹ and R² is—(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H.

In some embodiments, R² is H.

In some embodiments, R¹ is H.

In some embodiments, R², R⁷ and R¹² are each H.

In some embodiments, R³ and R⁵ are each independently halo, methyl orCN.

In some embodiments, the subscript p is an integer of 1, 2, or 3. Insome embodiments, the subscript p is an integer of 1 or 2. In someembodiments, the subscript p is 1.

In some embodiments, R⁸ and R⁹ are each independently selected from H,halo, CN, OH, —COOH, C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄alkyl)₂, C₁₋₄ haloalkyl, and C₁₋₄ haloalkoxy, wherein the C₁₋₄ alkyl,C₁₋₄ alkoxy, C₁₋₄ haloalkyl, and C₁₋₄ haloalkoxy of R⁸ or R⁹ are eachoptionally substituted with 1 or 2 independently selected R^(q)substituents. In some embodiments, R⁸ and R⁹ are each independentlyselected from H, halo, CN, C₁₋₄ alkyl, and C₁₋₄ alkoxy, wherein the C₁₋₄alkyl and C₁₋₄ alkoxy of R⁸ or R⁹ are each optionally substituted with 1or 2 independently selected R^(q) substituents. In some embodiments, Rand R⁹ are each independently selected from H and C₁₋₄ alkyl. In someembodiments, R⁸ is H. In some embodiments, R⁹ is H.

In some embodiments, R⁸ and R⁹ are each H.

In some embodiments, R¹⁰ and R¹¹ are each independently selected from H,C₁₋₆ alkyl, and C₁₋₆ haloalkyl, wherein the C₁₋₆ alkyl and C₁₋₆haloalkyl of R¹⁰ or R¹¹ are each optionally substituted with 1, 2, or 3independently selected R^(f) substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6- or 7-membered heterocycloalkyl, wherein the 4-,5-, 6- or 7-membered heterocycloalkyl is optionally substituted with 1,2 or 3 R^(h) substituents.

In some embodiments, R¹⁰ and R¹¹ are each independently selected from Hand C₁₋₆ alkyl optionally substituted with 1 or 2 independently selectedR^(f) substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6- or 7-membered heterocycloalkyl, wherein the 4-,5-, 6- or 7-membered heterocycloalkyl is optionally substituted with 1,2 or 3 R^(h) substituents.

In some embodiments, R¹⁰ and R¹¹ are each independently selected from Hand C₁₋₆ alkyl optionally substituted with 1 or 2 independently selectedR^(f) substituents. In some embodiments, R¹⁰ and R¹¹ taken together withthe nitrogen atom to which they are attached form 4-, 5-, 6- or7-membered heterocycloalkyl, wherein the 4-, 5-, 6- or 7-memberedheterocycloalkyl is optionally substituted with 1, 2 or 3 R^(h)substituents.

In some embodiments, R¹⁰ is H.

In some embodiments, R¹¹ is 2-hydroxyethyl,[1-(hydroxymethyl)cyclopropyl]methyl,[1-(hydroxymethyl)cyclobutyl]methyl or 2-(dimethylamino)-2-oxo-ethyl.

In some embodiments, R¹¹ is 1-hydroxy-2-propyl, 2-carboxyethyl, or2-hydroxycyclopentyl.

In some embodiments, —NR¹⁰R¹¹ is (2-hydroxyethyl)amino,3-hydroxypyrrolidin-1-yl, (R)-3-hydroxypyrrolidin-1-yl,(S)-3-hydroxypyrrolidin-1-yl, 3-carboxypyrrolidin-1-yl,(R)-3-carboxypyrrolidin-1-yl, (S)-3-carboxypyrrolidin-1-yl,3-carboxyazetidin-1-yl, (S)-3-carboxyazetidin-1-yl,(R)-3-carboxyazetidin-1-yl, 2-carboxy-1-piperidinyl,(R)-2-carboxy-1-piperidinyl, (S)-2-carboxy-1-piperidinyl,2-oxooxazolidin-3-yl, [1-(hydroxymethyl)cyclopropyl]methylamino,[1-(hydroxymethyl)cyclobutyl]methylamino,[2-(dimethylamino)-2-oxo-ethyl]amino,3-(dimethylaminocarbonyl)pyrrolidin-1-yl,(R)-3-(dimethylaminocarbonyl)pyrrolidin-1-yl,(S)-3-(dimethylaminocarbonyl)pyrrolidin-1-yl, 2-hydroxypropylamino,2-hydroxy-2-methylpropylamino, or 3-methyl-3-carboxypyrrolidin-1-yl.

In some embodiments, —NR¹⁰R¹¹ is (2-hydroxyethyl)amino,3-hydroxypyrrolidin-1-yl, 3-carboxypyrrolidin-1l-yl,3-carboxyazetidin-1l-yl, (S)-3-carboxyazetidin-1l-yl,(R)-3-carboxyazetidin-1-yl, 2-carboxy-1-piperidinyl,2-oxooxazolidin-3-yl, [1-(hydroxymethyl)cyclopropyl]methylamino,[1-(hydroxymethyl)cyclobutyl]methylamino or[2-(dimethylamino)-2-oxo-ethyl]amino.

In some embodiments, —NR¹⁰R¹¹ is (2-hydroxyethyl)amino,3-hydroxypyrrolidin-1-yl, 3-carboxypyrrolidin-1l-yl,3-carboxyazetidin-1l-yl, (S)-3-carboxyazetidin-1l-yl,(R)-3-carboxyazetidin-1-yl, 2-carboxy-1-piperidinyl,2-oxooxazolidin-3-yl, [1-(hydroxymethyl)cyclopropyl]methylamino,[1-(hydroxymethyl)cyclobutyl]methylamino,[2-(dimethylamino)-2-oxo-ethyl]amino,3-(dimethylaminocarbonyl)pyrrolidin-1-yl, 2-hydroxypropylamino,2-hydroxy-2-methylpropylamino, or 3-methyl-3-carboxypyrrolidin-1-yl.

In some embodiments, —NR¹⁰R¹¹ is (2-hydroxyethyl)amino,3-hydroxypyrrolidin-1-yl, 3-carboxypyrrolidin-1l-yl,3-carboxyazetidin-1l-yl, 2-carboxy-1-piperidinyl, 2-oxooxazolidin-3-yl,[1-(hydroxymethyl)cyclopropyl]methylamino,[1-(hydroxymethyl)cyclobutyl]methylamino or[2-(dimethylamino)-2-oxo-ethyl]amino.

In some embodiments, —NR¹⁰R¹¹ is 1-pyrrolidinyl,(3-carboxy-3-methyl)pyrrolidin-1-yl,(R)-(3-carboxy-3-methyl)pyrrolidin-1l-yl,(S)-(3-carboxy-3-methyl)pyrrolidin-1l-yl, (1-hydroxy-2-propyl)amino,(R)-(1-hydroxy-2-propyl)amino, (S)-(1-hydroxy-2-propyl)amino,(3-hydroxy-3-methyl)pyrrolidin-1-yl,(R)-(3-hydroxy-3-methyl)pyrrolidin-1-yl,(S)-(3-hydroxy-3-methyl)pyrrolidin-1-yl, (2-hydroxycyclopentyl)amino,((1R,2S)-2-hydroxycyclopentyl)amino,((1R,2R)-2-hydroxycyclopentyl)amino,((1S,2S)-2-hydroxycyclopentyl)amino,((1S,2R)-2-hydroxycyclopentyl)amino, 2-carboxyethylamino,3-(carboxymethyl)pyrrolidin-1-yl, or5-carboxy-2-azabicyclo[2.2.1]heptan-2-yl.

In some embodiments, X is N or CR¹⁷, wherein R¹⁷ is H, C₁₋₄ alkyl, C₁₋₄alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, or halo. In someembodiments, X is N or CR¹⁷, wherein R¹⁷ is H or C₁₋₄ alkyl. In someembodiments, X is N or CH. In some embodiments, X is N. In someembodiments, X is CR¹⁷ (e.g., CH).

In some embodiments, R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selectedfrom H, halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, OR^(a), C(O)R^(a),C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a), NHR^(a),NR^(a)R^(a), NR^(a)C(O)R^(a), and NR^(a)C(O)OR^(a), wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷and R¹⁸ are each optionally substituted with 1, 2, or 3 independentlyselected R^(b) substituents.

In some embodiments, R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selectedfrom H, halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl,C₁₋₆haloalkoxy, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OR^(a), C(O)R^(a), C(O)NR^(a)R^(a),C(O)OR^(a), NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), and NR^(a)C(O)OR^(a),wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, 5-14 memberedheteroaryl, 4-10 membered heterocycloalkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionally substituted with 1, 2, or 3independently selected R^(b) substituents.

In some embodiments, R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selectedfrom H, halo, C₁₋₆ alkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, OR^(a), and C(O)R^(a),wherein the C₁₋₆ alkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are eachoptionally substituted with 1, 2, or 3 independently selected R^(b)substituents.

In some embodiments, R⁶ is H, C₁₋₆ alkyl,(3-carboxypyrrolidin-1-yl)methyl, (R)-(3-carboxypyrrolidin-1-yl)methyl,(S)-(3-carboxypyrrolidin-1-yl)methyl, (3-hydroxypyrrolidin-1-yl)methyl,(R)-(3-hydroxypyrrolidin-1-yl)methyl,(S)-(3-hydroxypyrrolidin-1-yl)methyl, (2-hydroxyethylamino)methyl,(2-hydroxy-2-methylpropylamino)methyl, 2-(dimethylamino)ethanoyl,2-(3-carboxyazetidin-1-yl)ethanoyl,(R)-2-(3-carboxyazetidin-1-yl)ethanoyl,(S)-2-(3-carboxyazetidin-1-yl)ethanoyl,2-(2-carboxypiperidin-1-yl)ethanoyl,(R)-2-(2-carboxypiperidin-1-yl)ethanoyl,(S)-2-(2-carboxypiperidin-1-yl)ethanoyl,2-(3-carboxypyrrolidin-1-yl)ethanoyl,(S)-2-(3-carboxypyrrolidin-1-yl)ethanoyl,(R)-2-(3-carboxypyrrolidin-1-yl)ethanoyl, (5-cyanopyridin-3-yl)methoxy,halo or CN.

In some embodiments, R⁶ is (4-carboxycyclohexyl)methyl,trans-(4-carboxycyclohexyl)methyl, cis-(4-carboxycyclohexyl)methyl,1-carboxy-2-propyl, (R)-1-carboxy-2-propyl, (S)-1-carboxy-2-propyl,(4-carboxy-4-methylcyclohexyl)methyl, 2-pyrrolidinyl,2-(3-hydroxypyrrolidin-1-yl)acetyl,2-((R)-3-hydroxypyrrolidin-1-yl)acetyl,2-((S)-3-hydroxypyrrolidin-1-yl)acetyl,2-(3-hydroxyazetidin-1-yl)acetyl,2-((2-hydroxyethyl)(methyl)amino)acetyl, (4-carboxycyclohexyl)ethyl,4-carboxycyclohexyl, 4-carboxy-4-methylcyclohexyl, dimethylglycyl, orN-ethyl-N-methylglycyl.

In some embodiments, each R^(a) is independently selected from H, CN,C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, 5-14 memberedheteroaryl, 4-14 membered heterocycloalkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, 5-14membered heteroaryl, 4-14 membered heterocycloalkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl- and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(a) are each optionally substituted with 1, 2, or 3 independentlyselected R^(d) substituents. In some embodiments, each R^(a) isindependently selected from H, CN, C₁₋₆ alkyl, 5-14 membered heteroaryl,4-14 membered heterocycloalkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl-,and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl, (5-14membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1 or 2 independently selected R^(d) substituents. In someembodiments, each R^(a) is independently selected from H, CN, C₁₋₆alkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl- and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(a) are each optionally substituted with 1 or 2 independentlyselected R^(d) substituents.

In some embodiments, each R^(d) is independently selected from C₁-6alkyl, C₁₋₆ haloalkyl, halo, CN, NH₂, OR^(e), C(O)R^(e),C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e), NHR^(e),NR^(e)R^(e), and NR^(e)C(O)R^(e), wherein the C₁₋₆ alkyl of R^(d) areeach optionally substituted with 1 or 2 independently selected R^(f)substituents. In some embodiments, each R^(d) is independently selectedfrom C₁₋₆ alkyl, CN, NH₂, OR^(e), C(O)R^(e), C(O)NR^(e)R^(e),C(O)OR^(e), NHR^(e), or NR^(e)R^(e).

In some embodiments, each R^(e) is independently selected from H, C₁₋₆alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl. In someembodiments, each R^(e) is independently selected from H and C₁₋₆ alkyl.

In some embodiments, each R^(b) substituent is independently selectedfrom halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, OR^(c), C(O)R^(c),C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c), OC(O)NR^(c)R^(c), NHR^(c),NR^(c)R^(c), and NR^(c)C(O)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(b) are each further optionallysubstituted with 1 or 2 independently selected R^(d) substituents. Insome embodiments, each R^(b) substituent is independently selected fromhalo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, CN, OH, NH₂, OR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c),NHR^(c), and NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, C₂₋₆ alkenyl, and C₂₋₆ alkynyl of R^(b) are each furtheroptionally substituted with 1 or 2 independently selected R^(d)substituents. In some embodiments, each R^(b) substituent isindependently selected from halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆alkynyl, CN, OH, NH₂, OR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c),NHR^(c), and NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, and C₂₋₆alkynyl of R^(b) are each further optionally substituted with 1 or 2independently selected R^(d) substituents.

In some embodiments, each R^(c) is independently selected from H, C₁₋₆alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl of R^(c) are each optionallysubstituted with 1 or 2 independently selected R^(f) substituents. Insome embodiments, each R^(c) is independently selected from H and C₁₋₆alkyl optionally substituted with 1 or 2 independently selected R^(f)substituents.

In some embodiments, each R^(f) is independently selected from C₁₋₄alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(g),C(O)R^(g), C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g), OC(O)NR^(g)R^(g),NHR^(g), NR^(g)R^(g) and NR^(g)C(O)R^(g); wherein the C₁₋₄ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl of R^(f) are each optionallysubstituted with 1 or 2 independently selected R^(n) substituents. Insome embodiments, each R^(f) is independently selected from C₁₋₄ alkyl,halo, CN, OR^(g), C(O)R^(g), NHR^(g), and NR^(g)R^(g); wherein the C₁₋₄alkyl is optionally substituted with 1 or 2 independently selected R^(n)substituents. In some embodiments, each R^(f) is independently selectedfrom C₁₋₄ alkyl, halo, and OR^(g).

In some embodiments, each R^(g) is independently selected from H, C₁₋₆alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl of R^(g) are each optionallysubstituted with 1 or 2 independently selected R^(p) substituents. Insome embodiments, each R^(g) is independently selected from H and C₁₋₆alkyl.

In some embodiments, provided herein is a compound of Formula (I) or(Ia), or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

ring A is 5- to 10-membered heteroaryl, 4- to 11-memberedheterocycloalkyl, or C₆₋₁₀ aryl, wherein the 5- to 10-memberedheteroaryl and 4- to 11-membered heterocycloalkyl each has 1-4heteroatoms as ring members selected from N, O and S, wherein the N or Satom as ring members is optionally oxidized and one or more carbon atomsas ring members are each optionally replaced by a carbonyl group; andwherein ring A is optionally substituted with 1, 2 or 3 R⁶ substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, —(CR¹⁴R¹⁵)_(q)—O—,—O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, or CH═CH—;

X is N or CR¹⁷, wherein R¹⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, CN, halo, or OH, wherein the C₁₋₄ alkyl andC₁₋₄ alkoxy are each optionally substituted with 1 or 2 substituentsindependently selected from CN, halo and —C(O)NH₂;

one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H, C₁₋₄ alkyl,C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, or OH, whereinthe C₁₋₄ alkyl and C₁₋₄ alkoxy of R¹ or R² is optionally substitutedwith 1 or 2 substituents independently selected from C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, CN, halo, and OH;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, or C₁₋₄ haloalkyl;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, or OH;

each R⁶ is independently selected from H, halo, C₁₋₆ alkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, 5-14 memberedheteroaryl, 4-10 membered heterocycloalkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-,CN, NO₂, OR^(a), C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a),OC(O)NR^(a)R^(a), NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), orNR^(a)C(O)OR^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,5-14 membered heteroaryl, 4-10 membered heterocycloalkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R⁶ are each optionally substituted with 1, 2, or 3 R^(b)substituents;

R⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, or OH;

R⁸ and R⁹ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, and C₁₋₄haloalkyl;

R¹⁰ and R¹¹ are each independently selected from H, C₁₋₆ alkyl, C₁₋₆haloalkyl, —C(O)R^(g), —C(O)OR^(g), and —C(O)NR^(g)R^(g), wherein theC₁₋₆ alkyl and C₁₋₆ haloalkyl of R¹⁰ or R¹¹ are each optionallysubstituted with 1 or 2 independently selected R^(f) substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6- or 7-membered heterocycloalkyl, wherein the 4-,5-, 6- or 7-membered heterocycloalkyl is optionally substituted with 1,2 or 3 R^(h) substituents;

R¹² is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, or OH;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl;

R¹⁴ and R¹⁵ are each independently selected from H, halo, or C₁₋₄ alkyl;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, (5-14 membered heteroaryl)-C₁₋₄alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein theC₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, (5-14 membered heteroaryl)-C₁₋₄alkyl- and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(a) areeach optionally substituted with 1, 2, 3 or independently selected R^(d)substituents;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, CN, NH₂, OR^(e), C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e),OC(O)R^(e), OC(O)NR^(e)R^(e), NHR^(e), NR^(e)R^(e), and NR^(e)C(O)R^(e);

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, and C₂₋₆ alkynyl;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, CN, OH, NH₂, NO₂, OR^(c), C(O)R^(c),C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c), OC(O)NR^(c)R^(c),C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c), NHR^(c),NR^(c)R^(c), NR^(c)C(O)R^(c), and NR^(c)C(O)OR^(c); wherein the C₁₋₄alkyl, C₁₋₄ haloalkyl, and C₁₋₄ haloalkoxy of R^(b) are each furtheroptionally substituted with 1 or 2 independently selected R^(d)substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl- of R^(c) are eachoptionally substituted with 1, 2, or 3 R^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(g), C(O)R^(g),C(O)NR^(g)R^(g)C(O)OR^(g), OC(O)R^(g), OC(O)NR^(g)R^(g) NHR^(g),NR^(g)R^(g), NR^(i)C(O)R, and NR^(g)C(O)OR^(g);

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, and C₂₋₆ alkynyl;

each R^(h) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(i),C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i), OC(O)R^(i), OC(O)NR^(i)R^(i),NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i), and NR^(i)C(O)OR^(i), wherein theC₁₋₆ alkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl of R^(h) are each furtheroptionally substituted by 1, 2, or 3 R^(j) substituents;

each R^(j) is independently selected from C₂₋₄ alkenyl, C₂₋₄ alkynyl,halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, and CN;

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

each R^(i) is independently selected from H, C₁₋₄ alkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₄ alkenyl, and C₂₋₄ alkynyl;

the subscript m is an integer of 0, 1, or 2;

the subscript n is an integer of 0, 1, or 2; and

the subscript p is an integer of 1, 2, or 3.

In some embodiments, provided herein is a compound of Formula (I) or(Ia), or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

ring A is 5- to 10-membered heteroaryl or 4- to 11-memberedheterocycloalkyl, wherein the 5- to 10-membered heteroaryl and 4- to11-membered heterocycloalkyl each has 1-4 heteroatoms as ring membersselected from N, O and S, wherein the N or S atom as ring members isoptionally oxidized and one or more carbon atoms as ring members areeach optionally replaced by a carbonyl group; and wherein ring A isoptionally substituted with 1, 2 or 3 R⁶ substituents;

L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, —NR¹³—, or CH═CH—;

X is N or CR¹⁷, wherein R¹⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, CN, halo, or OH, wherein the C₁₋₄ alkyl andC₁₋₄ alkoxy are each optionally substituted with 1 or 2 substituentsindependently selected from CN, halo and —C(O)NH₂;

one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H, C₁₋₄ alkyl,C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, or OH, whereinthe C₁₋₄ alkyl and C₁₋₄ alkoxy of R¹ or R² is optionally substitutedwith 1 or 2 substituents independently selected from C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, CN, halo, and OH;

R³ is methyl, halo, CN or C₁₋₄ haloalkyl;

R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, or C₁₋₄ haloalkyl;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, or OH;

each R⁶ is independently selected from H, halo, C₁₋₆ alkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, 5-14 memberedheteroaryl, 4-10 membered heterocycloalkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-,CN, NO₂, OR^(a), C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a),OC(O)NR^(a)R^(a), NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), orNR^(a)C(O)OR^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,5-14 membered heteroaryl, 4-10 membered heterocycloalkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R⁶ are each optionally substituted with 1, 2, or 3 R^(b)substituents;

R⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, or OH;

R⁸ and R⁹ are each independently selected from H, halo, CN, OH, —COOH,C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, and C₁₋₄haloalkyl;

R¹⁰ and R¹¹ are each independently selected from H, C₁₋₆ alkyl, C₁₋₆haloalkyl, —C(O)R^(g), —C(O)OR^(g), and —C(O)NR^(g)R^(g), wherein theC₁₋₆ alkyl and C₁₋₆ haloalkyl of R¹⁰ or R¹¹ are each optionallysubstituted with 1 or 2 independently selected R^(f) substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6- or 7-membered heterocycloalkyl, wherein the 4-,5-, 6- or 7-membered heterocycloalkyl is optionally substituted with 1,2 or 3 R^(h) substituents;

R¹² is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, or OH;

each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl;

each R^(a) is independently selected from H, CN, C₁₋₆ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl;

each R^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,halo, CN, NH₂, OR^(e), C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e),OC(O)R^(e), OC(O)NR^(e)R^(e), NHR^(e), NR^(e)R^(e), and NR^(e)C(O)R^(e);

each R^(e) is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, and C₂₋₆ alkynyl;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, CN, OH, NH₂, NO₂, OR^(c), C(O)R^(c),C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c), OC(O)NR^(c)R^(c),C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c), NHR^(c),NR^(c)R^(c), NR^(c)C(O)R^(c), and NR^(c)C(O)OR^(c); wherein the C₁₋₄alkyl, C₁₋₄ haloalkyl, and C₁₋₄ haloalkoxy of R^(b) are each furtheroptionally substituted with 1 or 2 independently selected R^(d)substituents;

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl- of R^(c) are eachoptionally substituted with 1, 2, or 3 R^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(g), C(O)R^(g),C(O)NR^(g)R^(g)C(O)OR^(g), OC(O)R^(g), OC(O)NR^(g)R^(g) NHR^(g),NR^(g)R^(g), NR^(i)C(O)R, and NR^(i)C(O)OR^(g);

each R^(g) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, and C₂₋₆ alkynyl;

each R^(h) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(i),C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i), OC(O)R, OC(O)NR^(i)R^(i),NHR^(i), NR^(i)R^(i), NR^(i)C(O)R, and NR^(i)C(O)OR^(i), wherein theC₁₋₆ alkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl of R^(h) are each furtheroptionally substituted by 1, 2, or 3 R^(j) substituents;

each R^(j) is independently selected from C₂₋₄ alkenyl, C₂₋₄ alkynyl,halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, and CN;

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

each R^(i) is independently selected from H, C₁₋₄ alkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₄ alkenyl, and C₂₋₄ alkynyl;

the subscript m is an integer of 0, 1, or 2;

the subscript n is an integer of 0, 1, or 2; and

the subscript p is an integer of 1, 2, or 3.

In some embodiments provided herein is a compound of Formula (I) or(Ia), or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

ring A is 5- to 10-membered heteroaryl or 4- to 11-memberedheterocycloalkyl, wherein the 5- to 10-membered heteroaryl and 4- to11-membered heterocycloalkyl each has 1-4 heteroatoms as ring membersselected from N, O and S, wherein the N or S atom as ring members isoptionally oxidized and one or more carbon atoms as ring members areeach optionally replaced by a carbonyl group; and wherein ring A isoptionally substituted with 1, 2 or 3 R⁶ substituents;

L is a bond, —C(O)NR¹³— or —NR¹³C(O)—;

X is CR¹⁷, wherein R¹⁷ is H or C₁₋₄ alkyl;

one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H, C₁₋₄ alkyl,or C₁₋₄ alkoxy;

R³ is methyl, or halo;

R⁴ is C₁₋₄ alkyl or C₁₋₄ alkoxy;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, or halo;

each R⁶ is independently selected from H, halo, C₁₋₆ alkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R⁶ are each optionallysubstituted with 1, 2, or 3 R^(b) substituents;

R⁷ is H or C₁₋₄ alkyl;

R⁸ and R⁹ are each independently selected from H and C₁₋₄ alkyl;

R¹⁰ and R¹¹ are each independently selected from H and C₁₋₆ alkyloptionally substituted with 1 or 2 independently selected R^(f)substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6- or 7-membered heterocycloalkyl, wherein the 4-,5-, 6- or 7-membered heterocycloalkyl is optionally substituted with 1,2 or 3 R^(h) substituents;

R¹² is H or C₁₋₄ alkyl;

each R¹³ is independently H or C₁₋₆ alkyl;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,OH, NH₂, C(O)OR^(c), NHR^(c), and NR^(c)R^(c);

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl,and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl- of R^(c) are each optionallysubstituted with 1 or 2 R^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₂₋₆ alkenyl, C₂₋₆alkynyl, halo, OR^(g), and C(O)OR^(g);

each R^(g) is independently selected from H and C₁₋₆ alkyl;

each R^(h) is independently selected from C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆alkynyl, halo, CN, OR^(i), and C(O)OR^(i);

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

each R^(i) is independently selected from H and C₁₋₄ alkyl;

the subscript m is an integer of 0 or 1;

the subscript n is an integer of 0 or 1; and

the subscript p is an integer of 1 or 2.

In some embodiments provided herein is a compound of Formula (I) or(Ia), or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

ring A is 5- to 10-membered heteroaryl, wherein the 5- to 10-memberedheteroaryl has 1-4 heteroatoms as ring members selected from N, O and S,wherein the N or S atom as ring members is optionally oxidized and oneor more carbon atoms as ring members are each optionally replaced by acarbonyl group; and wherein ring A is optionally substituted with 1 or 2R⁶ substituents;

L is a bond, —C(O)NR¹³— or —NR¹³C(O)—;

X is CR¹⁷, wherein R¹⁷ is H;

one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H;

R³ is methyl, or halo;

R⁴ is C₁₋₄ alkyl or C₁₋₄ alkoxy;

R⁵ is C₁₋₄ alkyl or halo;

each R⁶ is independently selected from H, C₁₋₆ alkyl, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶ are each optionally substituted with1 or 2 R^(b) substituents;

R⁷ is H;

R⁸ and R⁹ are each independently selected from H and C₁₋₄ alkyl;

R¹⁰ and R¹¹ are each independently selected from H and C₁₋₆ alkyloptionally substituted with 1 or 2 independently selected R^(f)substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6- or 7-membered heterocycloalkyl, wherein the 4-,5-, 6- or 7-membered heterocycloalkyl is optionally substituted with 1,2 or 3 R^(h) substituents;

R¹² is H;

R¹³ is H;

each R^(b) substituent is independently selected from OH, C(O)OR^(c),NHR^(c), and NR^(c)R^(c);

each R^(c) is independently selected from H, C₁₋₆ alkyl, and C₃₋₁₀cycloalkyl, wherein the C₁₋₆ alkyl, and C₃₋₁₀ cycloalkyl of R^(c) areeach optionally substituted with 1 or 2 R^(f) substituents;

each R^(f) is independently selected from OR^(g), and C(O)OR^(g);

R^(g) is H;

each R^(h) is independently selected from OR^(i) and C(O)OR^(i);

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

R^(i) is H;

the subscript m is an integer of 0 or 1;

the subscript n is an integer of 0 or 1; and

the subscript p is an integer of 1 or 2.

In some embodiments provided herein is a compound of Formula (I) or(Ia), or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

ring A is 5- to 10-membered heteroaryl or 4- to 11-memberedheterocycloalkyl, wherein the 5- to 10-membered heteroaryl and 4- to11-membered heterocycloalkyl each has 1-4 heteroatoms as ring membersselected from N, O and S, wherein the N or S atom as ring members isoptionally oxidized and one or more carbon atoms as ring members areeach optionally replaced by a carbonyl group; and wherein ring A isoptionally substituted with 1, 2 or 3 R⁶ substituents;

L is a bond, —C(O)NR¹³—, —NR¹³—, or —NR¹³C(O)—;

X is CR¹⁷, wherein R¹⁷ is H or C₁₋₄ alkyl;

one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H, C₁₋₄ alkyl,or C₁₋₄ alkoxy;

R³ is methyl, or halo;

R⁴ is C₁₋₄ alkyl or C₁₋₄ alkoxy;

R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, or halo;

each R⁶ is independently selected from H, halo, C₁₋₆ alkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R⁶ are each optionallysubstituted with 1, 2, or 3 R^(b) substituents;

R⁷ is H or C₁₋₄ alkyl;

R⁸ and R⁹ are each independently selected from H and C₁₋₄ alkyl;

R¹⁰ and R¹¹ are each independently selected from H and C₁₋₆ alkyloptionally substituted with 1 or 2 independently selected R^(f)substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6- or 7-membered heterocycloalkyl, wherein the 4-,5-, 6- or 7-membered heterocycloalkyl is optionally substituted with 1,2 or 3 R^(h) substituents;

R¹² is H or C₁₋₄ alkyl;

each R¹³ is independently H or C₁₋₆ alkyl;

each R^(b) substituent is independently selected from halo, C₁₋₆ alkyl,OH, NH₂, C(O)OR^(c), NHR^(c), and NR^(c)R^(c);

each R^(c) is independently selected from H, C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl,and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl- of R^(c) are each optionallysubstituted with 1 or 2 R^(f) substituents;

each R^(f) is independently selected from C₁₋₄ alkyl, C₂₋₆ alkenyl, C₂₋₆alkynyl, halo, OR^(g), and C(O)OR^(g);

each R^(g) is independently selected from H and C₁₋₆ alkyl;

each R^(h) is independently selected from C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆alkynyl, halo, CN, OR^(i), and C(O)OR^(i);

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

each R^(i) is independently selected from H and C₁₋₄ alkyl;

the subscript m is an integer of 0 or 1;

the subscript n is an integer of 0 or 1; and

the subscript p is an integer of 1 or 2.

In some embodiments provided herein is a compound of Formula (I) or(Ia), or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein:

ring A is 5- to 10-membered heteroaryl, wherein the 5- to 10-memberedheteroaryl has 1-4 heteroatoms as ring members selected from N, O and S,wherein the N or S atom as ring members is optionally oxidized and oneor more carbon atoms as ring members are each optionally replaced by acarbonyl group; and wherein ring A is optionally substituted with 1 or 2R⁶ substituents;

L is a bond, —C(O)NR¹³—, —NR¹³—, or —NR¹³C(O)—;

X is CR¹⁷, wherein R¹⁷ is H;

one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H;

R³ is methyl, or halo;

R⁴ is C₁₋₄ alkyl or C₁₋₄ alkoxy;

R⁵ is C₁₋₄ alkyl or halo;

each R⁶ is independently selected from H, C₁₋₆ alkyl, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶ are each optionally substituted with1 or 2 R^(b) substituents;

R⁷ is H;

R⁸ and R⁹ are each independently selected from H and C₁₋₄ alkyl;

R¹⁰ and R¹¹ are each independently selected from H and C₁₋₆ alkyloptionally substituted with 1 or 2 independently selected R^(f)substituents;

or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6- or 7-membered heterocycloalkyl, wherein the 4-,5-, 6- or 7-membered heterocycloalkyl is optionally substituted with 1,2 or 3 R^(h) substituents;

R¹² is H;

R¹³ is H;

each R^(b) substituent is independently selected from OH, C(O)OR^(c),NHR^(c), and NR^(c)R^(c);

each R^(c) is independently selected from H, C₁₋₆ alkyl, and C₃₋₁₀cycloalkyl, wherein the C₁₋₆ alkyl, and C₃₋₁₀ cycloalkyl of R^(c) areeach optionally substituted with 1 or 2 R^(f) substituents;

each R^(f) is independently selected from OR^(g), and C(O)OR^(g);

R^(g) is H;

each R^(h) is independently selected from OR^(i) and C(O)OR^(i);

or any two R^(c) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents;

R^(i) is H;

the subscript m is an integer of 0 or 1;

the subscript n is an integer of 0 or 1; and

the subscript p is an integer of 1 or 2.

It is further appreciated that certain features of the invention, whichare, for clarity, described in the context of separate embodiments, canalso be provided in combination in a single embodiment (while theembodiments are intended to be combined as if written in multiplydependent form). Conversely, various features of the invention whichare, for brevity, described in the context of a single embodiment, canalso be provided separately or in any suitable subcombination. Thus, itis contemplated as features described as embodiments of the compounds ofFormula (I) can be combined in any suitable combination.

At various places in the present specification, certain features of thecompounds are disclosed in groups or in ranges. It is specificallyintended that such a disclosure include each and every individualsubcombination of the members of such groups and ranges. For example,the term “C₁₋₆ alkyl” is specifically intended to individually disclose(without limitation) methyl, ethyl, C₃ alkyl, C₄ alkyl, C₅ alkyl and C₆alkyl.

The term “n-membered,” where n is an integer, typically describes thenumber of ring-forming atoms in a moiety where the number ofring-forming atoms is n. For example, piperidinyl is an example of a6-membered heterocycloalkyl ring, pyrazolyl is an example of a5-membered heteroaryl ring, pyridyl is an example of a 6-memberedheteroaryl ring and 1,2,3,4-tetrahydro-naphthalene is an example of a10-membered cycloalkyl group.

At various places in the present specification, variables definingdivalent linking groups may be described. It is specifically intendedthat each linking substituent include both the forward and backwardforms of the linking substituent. For example, —NR(CR′R″)_(n)— includesboth —NR(CR′R″)_(n)— and —(CR′R″)_(n)NR— and is intended to discloseeach of the forms individually. Where the structure requires a linkinggroup, the Markush variables listed for that group are understood to belinking groups. For example, if the structure requires a linking groupand the Markush group definition for that variable lists “alkyl” or“aryl” then it is understood that the “alkyl” or “aryl” represents alinking alkylene group or arylene group, respectively.

The term “substituted” means that an atom or group of atoms formallyreplaces hydrogen as a “substituent” attached to another group. The term“substituted”, unless otherwise indicated, refers to any level ofsubstitution, e.g., mono-, di-, tri-, tetra- or penta-substitution,where such substitution is permitted. The substituents are independentlyselected, and substitution may be at any chemically accessible position.It is to be understood that substitution at a given atom is limited byvalency. It is to be understood that substitution at a given atomresults in a chemically stable molecule. The phrase “optionallysubstituted” means unsubstituted or substituted. The term “substituted”means that a hydrogen atom is removed and replaced by a substituent. Asingle divalent substituent, e.g., oxo, can replace two hydrogen atoms.

The term “C_(n-m)” indicates a range which includes the endpoints,wherein n and m are integers and indicate the number of carbons.Examples include C₁₋₄, C₁₋₆ and the like.

The term “alkyl,” employed alone or in combination with other terms,refers to a saturated hydrocarbon group that may be straight-chained orbranched. The term “C_(n-m) alkyl,” refers to an alkyl group having n tom carbon atoms. An alkyl group formally corresponds to an alkane withone C—H bond replaced by the point of attachment of the alkyl group tothe remainder of the compound. In some embodiments, the alkyl groupcontains from 1 to 6 carbon atoms, from 1 to 4 carbon atoms, from 1 to 3carbon atoms, or 1 to 2 carbon atoms. Examples of alkyl moietiesinclude, but are not limited to, chemical groups such as methyl, ethyl,n-propyl, isopropyl, n-butyl, tert-butyl, isobutyl, sec-butyl; higherhomologs such as 2-methyl-1-butyl, n-pentyl, 3-pentyl, n-hexyl,1,2,2-trimethylpropyl and the like.

The term “alkenyl,” employed alone or in combination with other terms,refers to a straight-chain or branched hydrocarbon group correspondingto an alkyl group having one or more double carbon-carbon bonds. Analkenyl group formally corresponds to an alkene with one C—H bondreplaced by the point of attachment of the alkenyl group to theremainder of the compound. The term “C_(n-m) alkenyl” refers to analkenyl group having n to m carbons. In some embodiments, the alkenylmoiety contains 2 to 6, 2 to 4, or 2 to 3 carbon atoms. Example alkenylgroups include, but are not limited to, ethenyl, n-propenyl,isopropenyl, n-butenyl, sec-butenyl and the like.

The term “alkynyl,” employed alone or in combination with other terms,refers to a straight-chain or branched hydrocarbon group correspondingto an alkyl group having one or more triple carbon-carbon bonds. Analkynyl group formally corresponds to an alkyne with one C—H bondreplaced by the point of attachment of the alkyl group to the remainderof the compound. The term “C_(n-m) alkynyl” refers to an alkynyl grouphaving n to m carbons. Example alkynyl groups include, but are notlimited to, ethynyl, propyn-1-yl, propyn-2-yl and the like. In someembodiments, the alkynyl moiety contains 2 to 6, 2 to 4, or 2 to 3carbon atoms.

The term “alkylene,” employed alone or in combination with other terms,refers to a divalent alkyl linking group. An alkylene group formallycorresponds to an alkane with two C—H bond replaced by points ofattachment of the alkylene group to the remainder of the compound. Theterm “C_(n-m) alkylene” refers to an alkylene group having n to m carbonatoms. Examples of alkylene groups include, but are not limited to,ethan-1,2-diyl, propan-1,3-diyl, propan-1,2-diyl, butan-1,4-diyl,butan-1,3-diyl, butan-1,2-diyl, 2-methyl-propan-1,3-diyl and the like.

The term “alkoxy,” employed alone or in combination with other terms,refers to a group of formula —O-alkyl, wherein the alkyl group is asdefined above. The term “C_(n-m) alkoxy” refers to an alkoxy group, thealkyl group of which has n to m carbons. Example alkoxy groups includemethoxy, ethoxy, propoxy (e.g., n-propoxy and isopropoxy), t-butoxy andthe like. In some embodiments, the alkyl group has 1 to 6, 1 to 4, or 1to 3 carbon atoms.

The term “alkylthio,” employed alone or in combination with other terms,refers to a group of formula —S-alkyl, wherein the alkyl group is asdefined above. The term “C_(n-m) alkylthio” refers to an alkylthiogroup, the alkyl group of which has n to m carbons. Example alkylthiogroups include methylthio, ethylthio, etc. In some embodiments, thealkyl group of the alkylthio group has 1 to 6, 1 to 4, or 1 to 3 carbonatoms.

The term “amino,” employed alone or in combination with other terms,refers to a group of formula —NH₂.

The term “carbonyl”, employed alone or in combination with other terms,refers to a —C(═O)— group, which also may be written as C(O).

The term “cyano” or “nitrile” refers to a group of formula —C═N, whichalso may be written as —CN.

The terms “halo” or “halogen”, used alone or in combination with otherterms, refers to fluoro, chloro, bromo and iodo. In some embodiments,“halo” refers to a halogen atom selected from F, Cl, or Br. In someembodiments, halo groups are F.

The term “haloalkyl,” employed alone or in combination with other terms,refers to an alkyl group in which one or more of the hydrogen atoms hasbeen replaced by a halogen atom. The term “C_(n-m) haloalkyl” refers toa C_(n-m) alkyl group having n to m carbon atoms and from at least oneup to {2(n to m)+1} halogen atoms, which may either be the same ordifferent. In some embodiments, the halogen atoms are fluoro atoms. Insome embodiments, the haloalkyl group has 1 to 6 or 1 to 4 carbon atoms.Example haloalkyl groups include CF₃, C₂F₅, CHF₂, CCl₃, CHCl₂, C₂Cl₅ andthe like. In some embodiments, the haloalkyl group is a fluoroalkylgroup.

The term “haloalkoxy,” employed alone or in combination with otherterms, refers to a group of formula —O-haloalkyl, wherein the haloalkylgroup is as defined above. The term “C_(n-m) haloalkoxy” refers to ahaloalkoxy group, the haloalkyl group of which has n to m carbons.Example haloalkoxy groups include trifluoromethoxy and the like. In someembodiments, the haloalkoxy group has 1 to 6, 1 to 4, or 1 to 3 carbonatoms.

The term “oxo” refers to an oxygen atom as a divalent substituent,forming a carbonyl group when attached to carbon, or attached to aheteroatom forming a sulfoxide or sulfone group, or an N-oxide group. Insome embodiments, heterocyclic groups may be optionally substituted by 1or 2 oxo (═O) substituents.

The term “sulfido” refers to a sulfur atom as a divalent substituent,forming a thiocarbonyl group (C═S) when attached to carbon.

The term “aromatic” refers to a carbocycle or heterocycle having one ormore polyunsaturated rings having aromatic character (i.e., having(4n+2) delocalized π (pi) electrons where n is an integer).

The term “aryl,” employed alone or in combination with other terms,refers to an aromatic hydrocarbon group, which may be monocyclic orpolycyclic (e.g., having 2 fused rings). The term “C_(n-m) aryl” refersto an aryl group having from n to m ring carbon atoms. Aryl groupsinclude, e.g., phenyl, naphthyl, indanyl, indenyl and the like. In someembodiments, aryl groups have from 6 to about 10 carbon atoms. In someembodiments aryl groups have 6 carbon atoms. In some embodiments arylgroups have 10 carbon atoms. In some embodiments, the aryl group isphenyl. In some embodiments, the aryl group is naphthyl.

The term “heteroatom” used herein is meant to include boron, phosphorus,sulfur, oxygen and nitrogen.

The term “heteroaryl” or “heteroaromatic,” employed alone or incombination with other terms, refers to a monocyclic or polycyclicaromatic heterocycle having at least one heteroatom ring member selectedfrom boron, phosphorus, sulfur, oxygen and nitrogen. In someembodiments, the heteroaryl ring has 1, 2, 3 or 4 heteroatom ringmembers independently selected from nitrogen, sulfur and oxygen. In someembodiments, any ring-forming N in a heteroaryl moiety can be anN-oxide. In some embodiments, the heteroaryl has 5-14 ring atomsincluding carbon atoms and 1, 2, 3 or 4 heteroatom ring membersindependently selected from nitrogen, sulfur and oxygen. In someembodiments, the heteroaryl has 5-14, or 5-10 ring atoms includingcarbon atoms and 1, 2, 3 or 4 heteroatom ring members independentlyselected from nitrogen, sulfur and oxygen. In some embodiments, theheteroaryl has 5-6 ring atoms and 1 or 2 heteroatom ring membersindependently selected from nitrogen, sulfur and oxygen. In someembodiments, the heteroaryl is a five-membered or six-memberedheteroaryl ring. In other embodiments, the heteroaryl is aneight-membered, nine-membered or ten-membered fused bicyclic heteroarylring. Example heteroaryl groups include, but are not limited to,pyridinyl (pyridyl), pyrimidinyl, pyrazinyl, pyridazinyl, pyrrolyl,pyrazolyl, azolyl, oxazolyl, thiazolyl, imidazolyl, furanyl, thiophenyl,quinolinyl, isoquinolinyl, naphthyridinyl (including 1,2-, 1,3-, 1,4-,1,5-, 1,6-, 1,7-, 1,8-, 2,3- and 2,6-naphthyridine), indolyl,benzothiophenyl, benzofuranyl, benzisoxazolyl, imidazo[1,2-b]thiazolyl,purinyl, and the like.

A five-membered heteroaryl ring is a heteroaryl group having five ringatoms wherein one or more (e.g., 1, 2 or 3) ring atoms are independentlyselected from N, O and S. Exemplary five-membered ring heteroarylsinclude thienyl, furyl, pyrrolyl, imidazolyl, thiazolyl, oxazolyl,pyrazolyl, isothiazolyl, isoxazolyl, 1,2,3-triazolyl, tetrazolyl,1,2,3-thiadiazolyl, 1,2,3-oxadiazolyl, 1,2,4-triazolyl,1,2,4-thiadiazolyl, 1,2,4-oxadiazolyl, 1,3,4-triazolyl,1,3,4-thiadiazolyl and 1,3,4-oxadiazolyl.

A six-membered heteroaryl ring is a heteroaryl group having six ringatoms wherein one or more (e.g., 1, 2 or 3) ring atoms are independentlyselected from N, O and S. Exemplary six-membered ring heteroaryls arepyridyl, pyrazinyl, pyrimidinyl, triazinyl and pyridazinyl.

The term “cycloalkyl,” employed alone or in combination with otherterms, refers to a non-aromatic hydrocarbon ring system (monocyclic,bicyclic or polycyclic), including cyclized alkyl and alkenyl groups.The term “C_(n-m) cycloalkyl” refers to a cycloalkyl that has n to mring member carbon atoms. Cycloalkyl groups can include mono- orpolycyclic (e.g., having 2, 3 or 4 fused rings) groups and spirocycles.Cycloalkyl groups can have 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, or 14ring-forming carbons (C₃₋₁₄). In some embodiments, the cycloalkyl grouphas 3 to 14 members, 3 to 10 members, 3 to 6 ring members, 3 to 5 ringmembers, or 3 to 4 ring members. In some embodiments, the cycloalkylgroup is monocyclic. In some embodiments, the cycloalkyl group ismonocyclic or bicyclic. In some embodiments, the cycloalkyl group is aC₃₋₆ monocyclic cycloalkyl group. Ring-forming carbon atoms of acycloalkyl group can be optionally oxidized to form an oxo or sulfidogroup. Cycloalkyl groups also include cycloalkylidenes. In someembodiments, cycloalkyl is cyclopropyl, cyclobutyl, cyclopentyl orcyclohexyl. Also included in the definition of cycloalkyl are moietiesthat have one or more aromatic rings fused (i.e., having a bond incommon with) to the cycloalkyl ring, e.g., benzo or thienyl derivativesof cyclopentane, cyclohexane and the like. A cycloalkyl group containinga fused aromatic ring can be attached through any ring-forming atomincluding a ring-forming atom of the fused aromatic ring. Examples ofcycloalkyl groups include cyclopropyl, cyclobutyl, cyclopentyl,cyclohexyl, cycloheptyl, cyclopentenyl, cyclohexenyl, cyclohexadienyl,cycloheptatrienyl, norbomyl, norpinyl, norcamyl, bicyclo[1.1.1]pentanyl,bicyclo[2.1.1]hexanyl, and the like. In some embodiments, the cycloalkylgroup is cyclopropyl, cyclobutyl, cyclopentyl, or cyclohexyl.

The term “heterocycloalkyl,” employed alone or in combination with otherterms, refers to a non-aromatic ring or ring system, which mayoptionally contain one or more alkenylene groups as part of the ringstructure, which has at least one heteroatom ring member independentlyselected from boron, nitrogen, sulfur oxygen and phosphorus, and whichhas 4-14 ring members, 4-10 ring members, 4-7 ring members, or 4-6 ringmembers. Included within the term “heterocycloalkyl” are monocyclic 4-,5-, 6- and 7-membered heterocycloalkyl groups. Heterocycloalkyl groupscan include mono- or bicyclic or polycyclic (e.g., having two or threefused or bridged rings) ring systems or spirorcycles. In someembodiments, the heterocycloalkyl group is a monocyclic group having 1,2 or 3 heteroatoms independently selected from nitrogen, sulfur andoxygen. Ring-forming carbon atoms and heteroatoms of a heterocycloalkylgroup can be optionally oxidized to form an oxo or sulfido group orother oxidized linkage (e.g., C(O), S(O), C(S) or S(O)₂, N-oxide etc.)or a nitrogen atom can be quaternized. The heterocycloalkyl group can beattached through a ring-forming carbon atom or a ring-formingheteroatom. In some embodiments, the heterocycloalkyl group contains 0to 3 double bonds. In some embodiments, the heterocycloalkyl groupcontains 0 to 2 double bonds. Also included in the definition ofheterocycloalkyl are moieties that have one or more aromatic rings fused(i.e., having a bond in common with) to the heterocycloalkyl ring, e.g.,benzo or thienyl derivatives of piperidine, morpholine, azepine, etc. Aheterocycloalkyl group containing a fused aromatic ring can be attachedthrough any ring-forming atom including a ring-forming atom of the fusedaromatic ring. Examples of heterocycloalkyl groups include azetidinyl,azepanyl, dihydrobenzofuranyl, dihydrofuranyl, dihydropyranyl,morpholino, 3-oxa-9-azaspiro[5.5]undecanyl,1-oxa-8-azaspiro[4.5]decanyl, piperidinyl, piperazinyl, oxopiperazinyl,pyranyl, pyrrolidinyl, quinuclidinyl, tetrahydrofuranyl,tetrahydropyranyl, 1,2,3,4-tetrahydroquinolinyl, tropanyl,tetrahydrothiazolopyridinyl (e.g.,4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl) and thiomorpholino.

The term “arylalkyl,” employed alone or in combination with other terms,refers to an aryl-(alkylene)- group where aryl and alkylene are asdefined herein. An example arylalkyl group is benzyl.

The term “heteroarylalkyl,” employed alone or in combination with otherterms, refers to an heteroaryl-(alkylene)- group, where heteroaryl andalkylene are as defined herein. An example heteroarylalkyl group ispyridylmethyl.

The term “cycloalkylalkyl,” employed alone or in combination with otherterms, refers to a cycloalkyl-(alkylene)- group, where cycloalkyl andalkylene are as defined herein. An example cycloalkylalkyl group iscyclopropylmethyl.

The term “heterocycloalkylalkyl,” employed alone or in combination withother terms, refers to a heterocycloalkyl-(alkylene)- group, whereheterocycloalkyl and alkylene are as defined herein. An exampleheterocycloalkylalkyl group is azetidinylmethyl.

At certain places, the definitions or embodiments refer to specificrings (e.g., an azetidine ring, a pyridine ring, etc.). Unless otherwiseindicated, these rings can be attached to any ring member provided thatthe valency of the atom is not exceeded. For example, an azetidine ringmay be attached at any position of the ring, whereas an azetidin-3-ylring is attached at the 3-position.

The compounds described herein can be asymmetric (e.g., having one ormore stereocenters). All stereoisomers, such as enantiomers anddiastereomers, are intended unless otherwise indicated. Compounds of thepresent invention that contain asymmetrically substituted carbon atomscan be isolated in optically active or racemic forms. Methods on how toprepare optically active forms from optically inactive startingmaterials are known in the art, such as by resolution of racemicmixtures or by stereoselective synthesis. Many geometric isomers ofolefins, C═N double bonds and the like can also be present in thecompounds described herein, and all such stable isomers are contemplatedin the present invention. Cis and trans geometric isomers of thecompounds of the present invention are described and may be isolated asa mixture of isomers or as separated isomeric forms.

Resolution of racemic mixtures of compounds can be carried out by any ofnumerous methods known in the art. One method includes fractionalrecrystallization using a chiral resolving acid which is an opticallyactive, salt-forming organic acid. Suitable resolving agents forfractional recrystallization methods are, e.g., optically active acids,such as the D and L forms of tartaric acid, diacetyltartaric acid,dibenzoyltartaric acid, mandelic acid, malic acid, lactic acid or thevarious optically active camphorsulfonic acids such as 3-camphorsulfonicacid. Other resolving agents suitable for fractional crystallizationmethods include stereoisomerically pure forms of α-methylbenzylamine(e.g., S and R forms, or diastereomerically pure forms),2-phenylglycinol, norephedrine, ephedrine, N-methylephedrine,cyclohexylethylamine, 1,2-diaminocyclohexane and the like.

Resolution of racemic mixtures can also be carried out by elution on acolumn packed with an optically active resolving agent (e.g.,dinitrobenzoylphenylglycine). Suitable elution solvent composition canbe determined by one skilled in the art.

In some embodiments, the compounds of the invention have the(R)-configuration. In other embodiments, the compounds have the(S)-configuration. In compounds with more than one chiral centers, eachof the chiral centers in the compound may be independently (R) or (S),unless otherwise indicated.

Compounds of the invention also include tautomeric forms. Tautomericforms result from the swapping of a single bond with an adjacent doublebond together with the concomitant migration of a proton. Tautomericforms include prototropic tautomers which are isomeric protonationstates having the same empirical formula and total charge. Exampleprototropic tautomers include ketone-enol pairs, amide-imidic acidpairs, lactam-lactim pairs, enamine-imine pairs, and annular forms wherea proton can occupy two or more positions of a heterocyclic system,e.g., 1H- and 3H-imidazole, 1H-, 2H- and 4H-1,2,4-triazole, 1H- and2H-isoindole and 1H- and 2H-pyrazole. Tautomeric forms can be inequilibrium or sterically locked into one form by appropriatesubstitution.

Compounds of the invention can also include all isotopes of atomsoccurring in the intermediates or final compounds. Isotopes includethose atoms having the same atomic number but different mass numbers.For example, isotopes of hydrogen include tritium and deuterium. One ormore constituent atoms of the compounds of the invention can be replacedor substituted with isotopes of the atoms in natural or non-naturalabundance. In some embodiments, the compound includes at least onedeuterium atom. For example, one or more hydrogen atoms in a compound ofthe present disclosure can be replaced or substituted by deuterium. Insome embodiments, the compound includes two or more deuterium atoms. Insome embodiments, the compound includes 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11 or 12 deuterium atoms. Synthetic methods for including isotopes intoorganic compounds are known in the art.

The term, “compound,” as used herein is meant to include allstereoisomers, geometric isomers, tautomers and isotopes of thestructures depicted. The term is also meant to refer to compounds of theinventions, regardless of how they are prepared, e.g., synthetically,through biological process (e.g., metabolism or enzyme conversion), or acombination thereof.

All compounds, and pharmaceutically acceptable salts thereof, can befound together with other substances such as water and solvents (e.g.,hydrates and solvates) or can be isolated. When in the solid state, thecompounds described herein and salts thereof may occur in various formsand may, e.g., take the form of solvates, including hydrates. Thecompounds may be in any solid state form, such as a polymorph orsolvate, so unless clearly indicated otherwise, reference in thespecification to compounds and salts thereof should be understood asencompassing any solid state form of the compound.

In some embodiments, the compounds of the invention, or salts thereof,are substantially isolated. By “substantially isolated” is meant thatthe compound is at least partially or substantially separated from theenvironment in which it was formed or detected. Partial separation caninclude, e.g., a composition enriched in the compounds of the invention.Substantial separation can include compositions containing at leastabout 50%, at least about 60%, at least about 70%, at least about 80%,at least about 90%, at least about 95%, at least about 97%, or at leastabout 99% by weight of the compounds of the invention, or salt thereof.

The phrase “pharmaceutically acceptable” is employed herein to refer tothose compounds, materials, compositions and/or dosage forms which are,within the scope of sound medical judgment, suitable for use in contactwith the tissues of human beings and animals without excessive toxicity,irritation, allergic response, or other problem or complication,commensurate with a reasonable benefit/risk ratio.

The expressions, “ambient temperature” and “room temperature,” as usedherein, are understood in the art, and refer generally to a temperature,e.g., a reaction temperature, that is about the temperature of the roomin which the reaction is carried out, e.g., a temperature from about 20°C. to about 30° C.

The present invention also includes pharmaceutically acceptable salts ofthe compounds described herein. The term “pharmaceutically acceptablesalts” refers to derivatives of the disclosed compounds wherein theparent compound is modified by converting an existing acid or basemoiety to its salt form. Examples of pharmaceutically acceptable saltsinclude, but are not limited to, mineral or organic acid salts of basicresidues such as amines; alkali or organic salts of acidic residues suchas carboxylic acids; and the like. The pharmaceutically acceptable saltsof the present invention include the non-toxic salts of the parentcompound formed, e.g., from non-toxic inorganic or organic acids. Thepharmaceutically acceptable salts of the present invention can besynthesized from the parent compound which contains a basic or acidicmoiety by conventional chemical methods. Generally, such salts can beprepared by reacting the free acid or base forms of these compounds witha stoichiometric amount of the appropriate base or acid in water or inan organic solvent, or in a mixture of the two; generally, non-aqueousmedia like ether, ethyl acetate, alcohols (e.g., methanol, ethanol,iso-propanol or butanol) or acetonitrile (MeCN) are preferred. Lists ofsuitable salts are found in Remington's Pharmaceutical Sciences, 17^(th)Ed., (Mack Publishing Company, Easton, 1985), p. 1418, Berge et al., J.Pharm. Sci., 1977, 66(1), 1-19 and in Stahl et al., Handbook ofPharmaceutical Salts: Properties, Selection, and Use, (Wiley, 2002). Insome embodiments, the compounds described herein include the N-oxideforms.

II. Synthesis

Compounds of the invention, including salts thereof, can be preparedusing known organic synthesis techniques and can be synthesizedaccording to any of numerous possible synthetic routes, such as those inthe Schemes below.

The reactions for preparing compounds of the invention can be carriedout in suitable solvents which can be readily selected by one of skillin the art of organic synthesis. Suitable solvents can be substantiallynon-reactive with the starting materials (reactants), the intermediatesor products at the temperatures at which the reactions are carried out,e.g., temperatures which can range from the solvent's freezingtemperature to the solvent's boiling temperature. A given reaction canbe carried out in one solvent or a mixture of more than one solvent.Depending on the particular reaction step, suitable solvents for aparticular reaction step can be selected by the skilled artisan.

Preparation of compounds of the invention can involve the protection anddeprotection of various chemical groups. The need for protection anddeprotection, and the selection of appropriate protecting groups, can bereadily determined by one skilled in the art. The chemistry ofprotecting groups is described, e.g., in Kocienski, Protecting Groups,(Thieme, 2007); Robertson, Protecting Group Chemistry, (OxfordUniversity Press, 2000); Smith et al., March's Advanced OrganicChemistry: Reactions, Mechanisms, and Structure, 6^(th) Ed. (Wiley,2007); Peturssion et al., “Protecting Groups in Carbohydrate Chemistry,”J. Chem. Educ., 1997, 74(11), 1297; and Wuts et al., Protective Groupsin Organic Synthesis, 4th Ed., (Wiley, 2006).

Reactions can be monitored according to any suitable method known in theart. For example, product formation can be monitored by spectroscopicmeans, such as nuclear magnetic resonance spectroscopy (e.g., ¹H or¹³C), infrared spectroscopy, spectrophotometry (e.g., UV-visible), massspectrometry or by chromatographic methods such as high performanceliquid chromatography (HPLC) or thin layer chromatography (TLC).

The Schemes below provide general guidance in connection with preparingthe compounds of the invention. One skilled in the art would understandthat the preparations shown in the Schemes can be modified or optimizedusing general knowledge of organic chemistry to prepare variouscompounds of the invention.

Compounds of Formula I can be synthesized using a process shown inScheme 1. In Scheme 1, a suitable halo (Hal¹)-substituted [4.4.0]aromatic heterocycle 1-1 is reacted with a suitable halo(Hal²)-substituted aniline 1-2 to produce compound 1-3 under standardS_(N)Ar conditions using an acid such as, but not limited to, sulfuricacid, or base such as, but not limited to, potassium tert-butoxide.Compounds of formula 1-3 may also be synthesized under standard metalcatalyzed cross-coupling reaction conditions (such as Buchwald-Hartwigcoupling reaction, e.g., in the presence of a palladium catalyst (e.g.,[(4,5-bis(diphenylphosphino)-9,9-dimethylxanthene)-2-(2′-amino-1,1′-biphenyl)]palladium(II)methanesulfonate) and a base (e.g., cesium carbonate)). Then thearomatic halide 1-3 can be reacted with a suitable coupling reagent 1-4(where M is, e.g., —B(OH)₂) to provide the product of formula I understandard metal catalyzed cross-coupling reaction conditions (such asSuzuki coupling reaction, e.g., in the presence of a palladium catalyst(e.g., [1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium(II)) anda base (e.g., a bicarbonate or a carbonate base)).

Compounds of formula II can be synthesized using a process shown inScheme 2. A suitable halo (Hal¹)-substituted [4.4.0] aromaticheterocycle 2-1 can be reacted with a suitable halo (Hal²)-substitutedaniline 2-2 to produce formula 2-3 under S_(N)Ar conditions using anacid such as, but not limited to, sulfuric acid, or base such as, butnot limited to, potassium tert-butoxide. Compounds of formula 2-3 mayalso be synthesized under standard metal catalyzed cross-couplingreaction conditions (such as Buchwald-Hartwig coupling reaction, e.g.,in the presence of a palladium catalyst (e.g.,[(4,5-bis(diphenylphosphino)-9,9-dimethylxanthene)-2-(2′-amino-1,1′-biphenyl)]palladium(II)methanesulfonate) and a base (e.g., cesium carbonate)). Then thearomatic halide 2-3 is reacted with a suitable coupling reagent 2-4(where M is, e.g., —B(OH)₂) to form the bi-aryl bond of formula 2-5under standard metal catalyzed cross-coupling reaction conditions (suchas Suzuki coupling reaction, e.g., in the presence of a palladiumcatalyst (e.g.,[1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium(II)) and a base(e.g., a bicarbonate or a carbonate base)). The vinyl group in compound2-5 can be oxidatively cleaved to afford an aldehyde in the presence ofsuitable reagents such as, but not limited to, OsO₄ and NaIO₄. Then thecompound of formula II can be obtained by a reductive amination betweenthe aldehyde derivative and a suitable amine 2-6 in a proper solventsuch as THF or DCM using a reducing agent such as, but not limited to,sodium triacetoxyborohydride, optionally in the presence of an acid suchas acetic acid or a base such as DIPEA.

Compounds of formula II can be alternatively synthesized using a processshown in Scheme 3. The vinyl group of a suitable halo (Hal¹)-substituted[4.4.0] aromatic heterocycle 3-1 can be oxidatively cleaved to afford analdehyde in the presence of suitable reagents such as, but not limitedto, OsO₄ and NaIO₄. Then the compound of formula 3-3 can be obtained bya reductive amination between the aldehyde derivative and a suitableamine 3-2 in a proper solvent such as THF or DCM using a reducing agentsuch as, but not limited to, sodium triacetoxyborohydride, optionally inthe presence of an acid such as acetic acid or a base such as DIPEA. Thecompound of formula 3-5 can be synthesized by reacting formula 3-3 witha suitable halo (Hal²)-substituted aniline 3-4 under standard S_(N)Arconditions using an acid such as, but not limited to, sulfuric acid, orbase such as, but not limited to, potassium tert-butoxide. Compounds offormula 3-5 may also be synthesized under standard metal catalyzedcross-coupling reaction conditions (such as Buchwald-Hartwig couplingreaction, e.g., in the presence of a palladium catalyst (e.g.,[(4,5-bis(diphenylphosphino)-9,9-dimethylxanthene)-2-(2′-amino-1,1′-biphenyl)]palladium(II)methanesulfonate) and a base (e.g., cesium carbonate)). Then thearomatic halide 3-5 is reacted with a suitable coupling reagent 3-6(where M is, e.g., —B(OH)₂) to provide compounds of formula II understandard metal catalyzed cross-coupling reaction conditions (such asSuzuki coupling reaction, e.g., in the presence of a palladium catalyst(e.g., [1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium(II)) anda base (e.g., a bicarbonate or a carbonate base)).

Compounds of formula III can be synthesized using a process shown inScheme 4. A suitable halo (Hal¹)-substituted [4.4.0] aromaticheterocycle 4-1 can be reacted with a suitable halo (Hal²)-substitutedaniline 4-2 to produce a compound of formula 4-3 under standard S_(N)Arconditions using an acid such as, but not limited to, sulfuric acid, orbase such as, but not limited to, potassium tert-butoxide. Compounds offormula 4-3 may also be synthesized under standard metal catalyzedcross-coupling reaction conditions (such as Buchwald-Hartwig couplingreaction, e.g., in the presence of a palladium catalyst (e.g.,[(4,5-bis(diphenylphosphino)-9,9-dimethylxanthene)-2-(2′-amino-1,1′-biphenyl)]palladium(II)methanesulfonate) and a base (e.g., cesium carbonate)). Then thearomatic halide 4-3 can be reacted with a suitable coupling reagent 4-4(where M is, e.g., —B(OH)₂) to form the bi-aryl bond of formula 4-5under standard metal catalyzed cross-coupling reaction conditions (suchas Suzuki coupling reaction, e.g., in the presence of a palladiumcatalyst (e.g.,[1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium(II)) and a base(e.g., a bicarbonate or a carbonate base)). The vinyl group in compound4-5 can be oxidatively cleaved to afford an aldehyde in the presence ofsuitable reagents such as, but not limited to, OsO₄ and NaIO₄. Then thecompound of formula III is obtained by a reductive amination between thealdehyde derivative and a suitable amine 4-6 in a proper solvent such asTHF or DCM using a reducing agent such as, but not limited to, sodiumtriacetoxyborohydride, optionally in the presence of an acid such asacetic acid or a base such as DIPEA.

Compounds of formula III can be alternatively synthesized using aprocess shown in Scheme 5. The vinyl group of a suitable halo(Hal¹)-substituted [4.4.0] aromatic heterocycle 5-1 can be oxidativelycleaved to afford an aldehyde in the presence of suitable reagents suchas, but not limited to, OsO₄ and NaIO₄. Then the compound of formula 5-3is obtained by a reductive amination between the aldehyde derivative anda suitable amine 5-2 in a proper solvent such as THF or DCM using areducing agent such as, but not limited to, sodiumtriacetoxyborohydride, optionally in the presence of an acid such asacetic acid or a base such as DIPEA. The compound of formula 5-5 can besynthesized by reacting formula 5-3 with a suitable halo(Hal²)-substituted aniline 5-4 under standard S_(N)Ar conditions usingan acid such as, but not limited to, sulfuric acid, or base such as, butnot limited to, potassium tert-butoxide. Compounds of formula 5-5 mayalso be synthesized under standard metal catalyzed cross-couplingreaction conditions (such as Buchwald-Hartwig coupling reaction, e.g.,in the presence of a palladium catalyst (e.g.,[(4,5-bis(diphenylphosphino)-9,9-dimethylxanthene)-2-(2′-amino-1,1′-biphenyl)]palladium(II)methanesulfonate) and a base (e.g., cesium carbonate)). Then thearomatic halide 5-5 is reacted with a suitable coupling reagent 5-6(where M is, e.g., —B(OH)₂) to provide compounds of formula II understandard metal catalyzed cross-coupling reaction conditions (such asSuzuki coupling reaction, e.g., in the presence of a palladium catalyst(e.g., [1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium(II)) anda base (e.g., a bicarbonate or a carbonate base)).

III. Uses of the Compounds

Compounds of the present disclosure can inhibit the activity ofPD-1/PD-L1 protein/protein interaction and, thus, are useful in treatingdiseases and disorders associated with activity of PD-1 and the diseasesand disorders associated with PD-L1 including its interaction with otherproteins such as PD-1 and B7-1 (CD80). In certain embodiments, thecompounds of the present disclosure, or pharmaceutically acceptablesalts or stereoisomers thereof, are useful for therapeuticadministration to enhance immunity in cancer, chronic infection orsepsis, including enhancement of response to vaccination. In someembodiments, the present disclosure provides a method for inhibiting thePD-1/PD-L1 protein/protein interaction. The method includesadministering to an individual or a patient a compound of Formula (I) orof any of the formulas as described herein, or of a compound as recitedin any of the claims and described herein, or a pharmaceuticallyacceptable salt or a stereoisomer thereof. The compounds of the presentdisclosure can be used alone, in combination with other agents ortherapies or as an adjuvant or neoadjuvant for the treatment of diseasesor disorders, including cancer or infection diseases. For the usesdescribed herein, any of the compounds of the disclosure, including anyof the embodiments thereof, may be used.

The compounds of the present disclosure inhibit the PD-1/PD-L1protein/protein interaction, resulting in a PD-1 pathway blockade. Theblockade of PD-1 can enhance the immune response to cancerous cells andinfectious diseases in mammals, including humans. In some embodiments,the present disclosure provides treatment of an individual or a patientin vivo using a compound of Formula (I) or a salt or stereoisomerthereof such that growth of cancerous tumors is inhibited. A compound ofFormula (I) or of any of the formulas as described herein, or a compoundas recited in any of the claims and described herein, or a salt orstereoisomer thereof, can be used to inhibit the growth of canceroustumors. Alternatively, a compound of Formula (I) or of any of theformulas as described herein, or a compound as recited in any of theclaims and described herein, or a salt or stereoisomer thereof, can beused in conjunction with other agents or standard cancer treatments, asdescribed below. In one embodiment, the present disclosure provides amethod for inhibiting growth of tumor cells in vitro. The methodincludes contacting the tumor cells in vitro with a compound of Formula(I) or of any of the formulas as described herein, or of a compound asrecited in any of the claims and described herein, or of a salt orstereoisomer thereof. In another embodiment, the present disclosureprovides a method for inhibiting growth of tumor cells in an individualor a patient. The method includes administering to the individual orpatient in need thereof a therapeutically effective amount of a compoundof Formula (I) or of any of the formulas as described herein, or of acompound as recited in any of the claims and described herein, or a saltor a stereoisomer thereof.

In some embodiments, provided herein is a method for treating cancer.The method includes administering to a patient in need thereof, atherapeutically effective amount of a compound of Formula (I) or any ofthe formulas as described herein, a compound as recited in any of theclaims and described herein, or a salt thereof. Examples of cancersinclude those whose growth may be inhibited using compounds of thedisclosure and cancers typically responsive to immunotherapy.

Examples of cancers that are treatable using the compounds of thepresent disclosure include, but are not limited to, bone cancer,pancreatic cancer, skin cancer, cancer of the head or neck, cutaneous orintraocular malignant melanoma, uterine cancer, ovarian cancer, rectalcancer, cancer of the anal region, stomach cancer, testicular cancer,uterine cancer, carcinoma of the fallopian tubes, carcinoma of theendometrium, endometrial cancer, carcinoma of the cervix, carcinoma ofthe vagina, carcinoma of the vulva, Hodgkin's Disease, non-Hodgkin'slymphoma, cancer of the esophagus, cancer of the small intestine, cancerof the endocrine system, cancer of the thyroid gland, cancer of theparathyroid gland, cancer of the adrenal gland, sarcoma of soft tissue,cancer of the urethra, cancer of the penis, chronic or acute leukemiasincluding acute myeloid leukemia, chronic myeloid leukemia, acutelymphoblastic leukemia, chronic lymphocytic leukemia, solid tumors ofchildhood, lymphocytic lymphoma, cancer of the bladder, cancer of thekidney or urethra, carcinoma of the renal pelvis, neoplasm of thecentral nervous system (CNS), primary CNS lymphoma, tumor angiogenesis,spinal axis tumor, brain stem glioma, pituitary adenoma, Kaposi'ssarcoma, epidermoid cancer, squamous cell cancer, T-cell lymphoma,environmentally induced cancers including those induced by asbestos, andcombinations of said cancers. The compounds of the present disclosureare also useful for the treatment of metastatic cancers, especiallymetastatic cancers that express PD-Ll.

In some embodiments, cancers treatable with compounds of the presentdisclosure include melanoma (e.g., metastatic malignant melanoma), renalcancer (e.g. clear cell carcinoma), prostate cancer (e.g. hormonerefractory prostate adenocarcinoma), breast cancer, colon cancer, lungcancer (e.g. non-small cell lung cancer and small cell lung cancer),squamous cell head and neck cancer, urothelial cancer (e.g. bladder andcancers with high microsatellite instability (MSI^(high)). Additionally,the disclosure includes refractory or recurrent malignancies whosegrowth may be inhibited using the compounds of the disclosure.

In some embodiments, cancers that are treatable using the compounds ofthe present disclosure include, but are not limited to, solid tumors(e.g., prostate cancer, colon cancer, esophageal cancer, endometrialcancer, ovarian cancer, uterine cancer, renal cancer, hepatic cancer,pancreatic cancer, gastric cancer, breast cancer, lung cancer, cancersof the head and neck, thyroid cancer, glioblastoma, sarcoma, bladdercancer, etc.), hematological cancers (e.g., lymphoma, leukemia such asacute lymphoblastic leukemia (ALL), acute myelogenous leukemia (AML),chronic lymphocytic leukemia (CLL), chronic myelogenous leukemia (CML),DLBCL, mantle cell lymphoma, Non-Hodgkin lymphoma (including relapsed orrefractory NHL and recurrent follicular), Hodgkin lymphoma or multiplemyeloma) and combinations of said cancers.

In some embodiments, cancers that are treatable using the compounds ofthe present disclosure include, but are not limited to,cholangiocarcinoma, bile duct cancer, triple negative breast cancer,rhabdomyosarcoma, small cell lung cancer, leiomyosarcoma, hepatocellularcarcinoma, Ewing's sarcoma, brain cancer, brain tumor, astrocytoma,neuroblastoma, neurofibroma, basal cell carcinoma, chondrosarcoma,epithelioid sarcoma, eye cancer, Fallopian tube cancer, gastrointestinalcancer, gastrointestinal stromal tumors, hairy cell leukemia, intestinalcancer, islet cell cancer, oral cancer, mouth cancer, throat cancer,laryngeal cancer, lip cancer, mesothelioma, neck cancer, nasal cavitycancer, ocular cancer, ocular melanoma, pelvic cancer, rectal cancer,renal cell carcinoma, salivary gland cancer, sinus cancer, spinalcancer, tongue cancer, tubular carcinoma, urethral cancer, and ureteralcancer.

In some embodiments, the compounds of the present disclosure can be usedto treat sickle cell disease and sickle cell anemia.

In some embodiments, diseases and indications that are treatable usingthe compounds of the present disclosure include, but are not limited tohematological cancers, sarcomas, lung cancers, gastrointestinal cancers,genitourinary tract cancers, liver cancers, bone cancers, nervous systemcancers, gynecological cancers, and skin cancers.

Exemplary hematological cancers include lymphomas and leukemias such asacute lymphoblastic leukemia (ALL), acute myelogenous leukemia (AML),acute promyelocytic leukemia (APL), chronic lymphocytic leukemia (CLL),chronic myelogenous leukemia (CML), diffuse large B-cell lymphoma(DLBCL), mantle cell lymphoma, Non-Hodgkin lymphoma (including relapsedor refractory NHL and recurrent follicular), Hodgkin lymphoma,myeloproliferative diseases (e.g., primary myelofibrosis (PMF),polycythemia vera (PV), essential thrombocytosis (ET)), myelodysplasiasyndrome (MDS), T-cell acute lymphoblastic lymphoma (T-ALL) and multiplemyeloma (MM).

Exemplary sarcomas include chondrosarcoma, Ewing's sarcoma,osteosarcoma, rhabdomyosarcoma, angiosarcoma, fibrosarcoma, liposarcoma,myxoma, rhabdomyoma, rhabdosarcoma, fibroma, lipoma, harmatoma, andteratoma.

Exemplary lung cancers include non-small cell lung cancer (NSCLC), smallcell lung cancer, bronchogenic carcinoma (squamous cell,undifferentiated small cell, undifferentiated large cell,adenocarcinoma), alveolar (bronchiolar) carcinoma, bronchial adenoma,chondromatous hamartoma, and mesothelioma.

Exemplary gastrointestinal cancers include cancers of the esophagus(squamous cell carcinoma, adenocarcinoma, leiomyosarcoma, lymphoma),stomach (carcinoma, lymphoma, leiomyosarcoma), pancreas (ductaladenocarcinoma, insulinoma, glucagonoma, gastrinoma, carcinoid tumors,vipoma), small bowel (adenocarcinoma, lymphoma, carcinoid tumors,Kaposi's sarcoma, leiomyoma, hemangioma, lipoma, neurofibroma, fibroma),large bowel (adenocarcinoma, tubular adenoma, villous adenoma,hamartoma, leiomyoma), and colorectal cancer.

Exemplary genitourinary tract cancers include cancers of the kidney(adenocarcinoma, Wilm's tumor [nephroblastoma]), bladder and urethra(squamous cell carcinoma, transitional cell carcinoma, adenocarcinoma),prostate (adenocarcinoma, sarcoma), and testis (seminoma, teratoma,embryonal carcinoma, teratocarcinoma, choriocarcinoma, sarcoma,interstitial cell carcinoma, fibroma, fibroadenoma, adenomatoid tumors,lipoma).

Exemplary liver cancers include hepatoma (hepatocellular carcinoma),cholangiocarcinoma, hepatoblastoma, angiosarcoma, hepatocellularadenoma, and hemangioma.

Exemplary bone cancers include, for example, osteogenic sarcoma(osteosarcoma), fibrosarcoma, malignant fibrous histiocytoma,chondrosarcoma, Ewing's sarcoma, malignant lymphoma (reticulum cellsarcoma), multiple myeloma, malignant giant cell tumor chordoma,osteochronfroma (osteocartilaginous exostoses), benign chondroma,chondroblastoma, chondromyxofibroma, osteoid osteoma, and giant celltumors Exemplary nervous system cancers include cancers of the skull(osteoma, hemangioma, granuloma, xanthoma, osteitis deformans), meninges(meningioma, meningiosarcoma, gliomatosis), brain (astrocytoma,meduoblastoma, glioma, ependymoma, germinoma (pinealoma), glioblastoma,glioblastoma multiform, oligodendroglioma, schwannoma, retinoblastoma,congenital tumors), and spinal cord (neurofibroma, meningioma, glioma,sarcoma), as well as neuroblastoma and Lhermitte-Duclos disease.

Exemplary gynecological cancers include cancers of the uterus(endometrial carcinoma), cervix (cervical carcinoma, pre-tumor cervicaldysplasia), ovaries (ovarian carcinoma (serous cystadenocarcinoma,mucinous cystadenocarcinoma, unclassified carcinoma), granulosa-thecalcell tumors, Sertoli-Leydig cell tumors, dysgerminoma, malignantteratoma), vulva (squamous cell carcinoma, intraepithelial carcinoma,adenocarcinoma, fibrosarcoma, melanoma), vagina (clear cell carcinoma,squamous cell carcinoma, botryoid sarcoma (embryonal rhabdomyosarcoma),and fallopian tubes (carcinoma).

Exemplary skin cancers include melanoma, basal cell carcinoma, squamouscell carcinoma, Kaposi's sarcoma, moles dysplastic nevi, lipoma,angioma, dermatofibroma, and keloids. In some embodiments, diseases andindications that are treatable using the compounds of the presentdisclosure include, but are not limited to, sickle cell disease (e.g.,sickle cell anemia), triple-negative breast cancer (TNBC),myelodysplastic syndromes, testicular cancer, bile duct cancer,esophageal cancer, and urothelial carcinoma.

PD-1 pathway blockade with compounds of the present disclosure can alsobe used for treating infections such as viral, bacteria, fungus andparasite infections. The present disclosure provides a method fortreating infections such as viral infections. The method includesadministering to a patient in need thereof, a therapeutically effectiveamount of a compound of Formula (I) or any of the formulas as describedherein, a compound as recited in any of the claims and described herein,a salt thereof. Examples of viruses causing infections treatable bymethods of the present disclosure include, but are not limit to, humanimmunodeficiency virus, human papillomavirus, influenza, hepatitis A, B,C or D viruses, adenovirus, poxvirus, herpes simplex viruses, humancytomegalovirus, severe acute respiratory syndrome virus, ebola virus,and measles virus. In some embodiments, viruses causing infectionstreatable by methods of the present disclosure include, but are notlimit to, hepatitis (A, B, or C), herpes virus (e.g., VZV, HSV-1, HAV-6,HSV-II, and CMV, Epstein Barr virus), adenovirus, influenza virus,flaviviruses, echovirus, rhinovirus, coxsackie virus, cornovirus,respiratory syncytial virus, mumpsvirus, rotavirus, measles virus,rubella virus, parvovirus, vaccinia virus, HTLV virus, dengue virus,papillomavirus, molluscum virus, poliovirus, rabies virus, JC virus andarboviral encephalitis virus.

The present disclosure provides a method for treating bacterialinfections. The method includes administering to a patient in needthereof, a therapeutically effective amount of a compound of Formula (I)or any of the formulas as described herein, a compound as recited in anyof the claims and described herein, or a salt thereof. Non-limitingexamples of pathogenic bacteria causing infections treatable by methodsof the disclosure include chlamydia, rickettsial bacteria, mycobacteria,staphylococci, streptococci, pneumonococci, meningococci and conococci,klebsiella, proteus, serratia, pseudomonas, legionella, diphtheria,salmonella, bacilli, cholera, tetanus, botulism, anthrax, plague,leptospirosis, and Lyme's disease bacteria.

The present disclosure provides a method for treating fungus infections.The method includes administering to a patient in need thereof, atherapeutically effective amount of a compound of Formula (I) or any ofthe formulas as described herein, a compound as recited in any of theclaims and described herein, or a salt thereof. Non-limiting examples ofpathogenic fungi causing infections treatable by methods of thedisclosure include Candida (albicans, krusei, glabrata, tropicalis,etc.), Cryptococcus neoformans, Aspergillus (fumigatus, niger, etc.),Genus Mucorales (mucor, absidia, rhizophus), Sporothrix schenkii,Blastomyces dermatitidis, Paracoccidioides brasiliensis, Coccidioidesimmitis and Histoplasma capsulatum.

The present disclosure provides a method for treating parasiteinfections. The method includes administering to a patient in needthereof, a therapeutically effective amount of a compound of Formula (I)or any of the formulas as described herein, a compound as recited in anyof the claims and described herein, or a salt thereof. Non-limitingexamples of pathogenic parasites causing infections treatable by methodsof the disclosure include Entamoeba histolytica, Balantidium coli,Naegleria fowleri, Acanthamoeba sp., Giardia lambia, Cryptosporidiumsp., Pneumocystis carinii, Plasmodium vivax, Babesia microti,Trypanosoma brucei, Trypanosoma cruzi, Leishmania donovani, Toxoplasmagondi, and Nippostrongylus brasiliensis.

It is believed that compounds of Formula (I), or any of the embodimentsthereof, may possess satisfactory pharmacological profile and promisingbiopharmaceutical properties, such as toxicological profile, metabolismand pharmacokinetic properties, solubility, and permeability. It will beunderstood that determination of appropriate biopharmaceuticalproperties is within the knowledge of a person skilled in the art, e.g.,determination of cytotoxicity in cells or inhibition of certain targetsor channels to determine potential toxicity.

The terms “individual” or “patient,” used interchangeably, refer to anyanimal, including mammals, preferably mice, rats, other rodents,rabbits, dogs, cats, swine, cattle, sheep, horses, or primates, and mostpreferably humans.

The phrase “therapeutically effective amount” refers to the amount ofactive compound or pharmaceutical agent that elicits the biological ormedicinal response in a tissue, system, animal, individual or human thatis being sought by a researcher, veterinarian, medical doctor or otherclinician.

As used herein, the term “treating” or “treatment” refers to one or moreof (1) inhibiting the disease; e.g., inhibiting a disease, condition ordisorder in an individual who is experiencing or displaying thepathology or symptomatology of the disease, condition or disorder (i.e.,arresting further development of the pathology and/or symptomatology);and (2) ameliorating the disease; e.g., ameliorating a disease,condition or disorder in an individual who is experiencing or displayingthe pathology or symptomatology of the disease, condition or disorder(i.e., reversing the pathology and/or symptomatology) such as decreasingthe severity of disease.

In some embodiments, the compounds of the invention are useful inpreventing or reducing the risk of developing any of the diseasesreferred to herein; e.g., preventing or reducing the risk of developinga disease, condition or disorder in an individual who may be predisposedto the disease, condition or disorder but does not yet experience ordisplay the pathology or symptomatology of the disease.

Combination Therapies

Cancer cell growth and survival can be impacted by multiple signalingpathways. Thus, it is useful to combine differentenzyme/protein/receptor inhibitors, exhibiting different preferences inthe targets which they modulate the activities of, to treat suchconditions. Targeting more than one signaling pathway (or more than onebiological molecule involved in a given signaling pathway) may reducethe likelihood of drug-resistance arising in a cell population, and/orreduce the toxicity of treatment.

The compounds of the present disclosure can be used in combination withone or more other enzyme/protein/receptor inhibitors or one or moretherapies for the treatment of diseases, such as cancer or infections.Examples of diseases and indications treatable with combinationtherapies include those as described herein. Examples of cancers includesolid tumors and liquid tumors, such as blood cancers. Examples ofinfections include viral infections, bacterial infections, fungusinfections or parasite infections. For example, the compounds of thepresent disclosure can be combined with one or more inhibitors of thefollowing kinases for the treatment of cancer: Akt1, Akt2, Akt3, TGF-βR,PKA, PKG, PKC, CaM-kinase, phosphorylase kinase, MEKK, ERK, MAPK, mTOR,EGFR, HER2, HER3, HER4, INS-R, IGF-1R, IR-R, PDGFαR, PDGFβR, PI3K(alpha, beta, gamma, delta), CSFIR, KIT, FLK-II, KDR/FLK-1, FLK-4,fit-1, FGFR1, FGFR2, FGFR3, FGFR4, c-Met, Ron, Sea, TRKA, TRKB, TRKC,TAM kinases (Axl, Mer, Tyro3), FLT3, VEGFR/Flt2, Flt4, EphA1, EphA2,EphA3, EphB2, EphB4, Tie2, Src, Fyn, Lck, Fgr, Btk, Fak, SYK, FRK, JAK,ABL, ALK and B-Raf. In some embodiments, the compounds of the presentdisclosure can be combined with one or more of the following inhibitorsfor the treatment of cancer or infections. Non-limiting examples ofinhibitors that can be combined with the compounds of the presentdisclosure for treatment of cancer and infections include an FGFRinhibitor (FGFR1, FGFR2, FGFR3 or FGFR4, e.g., INCB54828, INCB62079 andINCB63904), a JAK inhibitor (JAK1 and/or JAK2, e.g., ruxolitinib,baricitinib or INCB39110), an IDO inhibitor (e.g., epacadostat, NLG919,BMS-986205), an LSD1 inhibitor (e.g., INCB59872 and INCB60003), a TDOinhibitor, a PI3K-delta inhibitor (e.g., INCB50797 and INCB50465), aPI3K-gamma inhibitor such as PI3K-gamma selective inhibitor, a Piminhibitor (e.g., INCB53914), a CSF1R inhibitor, a TAM receptor tyrosinekinases (Tyro-3, Axl, and Mer), an adenosine receptor antagonist (e.g.,A2a/A2b receptor antagonist), an HPK1 inhibitor, an histone deacetylaseinhibitor (HDAC) such as an HDAC8 inhibitor, an angiogenesis inhibitor,an interleukin receptor inhibitor, bromo and extra terminal familymembers inhibitors (for example, bromodomain inhibitors or BETinhibitors such as INCB54329 and INCB57643), a poly ADP ribosepolymerase (PARP) inhibitor such as rucaparib, olaparib, niraparib,veliparib, or talazoparib, an arginase inhibitor (INCB01158), and anadenosine receptor antagonist or combinations thereof.

Compounds of the present disclosure can be used in combination with oneor more immune checkpoint inhibitors. Exemplary immune checkpointinhibitors include inhibitors against immune checkpoint molecules suchas CD27, CD28, CD40, CD122, CD96, CD73, CD47, OX40, GITR, CSF1R, JAK,PI3K delta, PI3K gamma, TAM, arginase, CD137 (also known as 4-1BB),ICOS, A2AR, B7-H3, B7-H4, BTLA, CTLA-4, LAG3, TIM3, VISTA, PD-1, PD-L1and PD-L2. In some embodiments, the immune checkpoint molecule is astimulatory checkpoint molecule selected from CD27, CD28, CD40, ICOS,OX40, GITR and CD137. In some embodiments, the immune checkpointmolecule is an inhibitory checkpoint molecule selected from A2AR, B7-H3,B7-H4, BTLA, CTLA-4, IDO, KIR, LAG3, PD-1, TIM3, and VISTA. In someembodiments, the compounds provided herein can be used in combinationwith one or more agents selected from KIR inhibitors, TIGIT inhibitors,LAIR1 inhibitors, CD160 inhibitors, 2B4 inhibitors and TGFR betainhibitors.

In some embodiments, the inhibitor of an immune checkpoint molecule isanti-PD1 antibody, anti-PD-L1 antibody, or anti-CTLA-4 antibody.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of PD-1, e.g., an anti-PD-1 monoclonal antibody. In someembodiments, the anti-PD-1 monoclonal antibody is nivolumab,pembrolizumab (also known as MK-3475), pidilizumab, SHR-1210, PDR001, orAMP-224. In some embodiments, the anti-PD-1 monoclonal antibody isnivolumab or pembrolizumab. In some embodiments, the anti-PD1 antibodyis pembrolizumab. In some embodiments, the anti PD-1 antibody isSHR-1210.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of PD-L1, e.g., an anti-PD-L1 monoclonal antibody. In someembodiments, the anti-PD-L1 monoclonal antibody is BMS-935559, MEDI4736,MPDL3280A (also known as RG7446), or MSB0010718C. In some embodiments,the anti-PD-L1 monoclonal antibody is MPDL3280A or MEDI4736.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of CTLA-4, e.g., an anti-CTLA-4 antibody. In someembodiments, the anti-CTLA-4 antibody is ipilimumab or tremelimumab.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of LAG3, e.g., an anti-LAG3 antibody. In some embodiments,the anti-LAG3 antibody is BMS-986016, LAG525 or INCAGN2385.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of TIM3, e.g., an anti-TIM3 antibody. In some embodiments,the anti-TIM3 antibody is INCAGN2390, MBG453, or TSR-022.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of GITR, e.g., an anti-GITR antibody. In some embodiments,the anti-GITR antibody is TRX518, MK-4166, INCAGN1876, MK-1248, AMG228,BMS-986156, GWN323, or MEDI1873.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of OX40, e.g., an anti-OX40 antibody or OX40L fusionprotein. In some embodiments, the anti-OX40 antibody is MEDI0562,MOXR-0916, PF-04518600, GSK3174998, or BMS-986178. In some embodiments,the OX40L fusion protein is MEDI6383.

Compounds of the present disclosure can be used in combination with oneor more agents for the treatment of diseases such as cancer. In someembodiments, the agent is an alkylating agent, a proteasome inhibitor, acorticosteroid, or an immunomodulatory agent. Examples of an alkylatingagent include cyclophosphamide (CY), melphalan (MEL), and bendamustine.In some embodiments, the proteasome inhibitor is carfilzomib. In someembodiments, the corticosteroid is dexamethasone (DEX). In someembodiments, the immunomodulatory agent is lenalidomide (LEN) orpomalidomide (POM).

The compounds of the present disclosure can further be used incombination with other methods of treating cancers, for example bychemotherapy, irradiation therapy, tumor-targeted therapy, adjuvanttherapy, immunotherapy or surgery. Examples of immunotherapy includecytokine treatment (e.g., interferons, GM-CSF, G-CSF, IL-2), CRS-207immunotherapy, cancer vaccine, monoclonal antibody, adoptive T celltransfer, Toll receptor agonists, STING agonists, oncolytic virotherapyand immunomodulating small molecules, including thalidomide or JAK1/2inhibitor and the like. The compounds can be administered in combinationwith one or more anti-cancer drugs, such as a chemotherapeutics. Examplechemotherapeutics include any of: abarelix, aldesleukin, alemtuzumab,alitretinoin, allopurinol, altretamine, anastrozole, arsenic trioxide,asparaginase, azacitidine, bevacizumab, bexarotene, baricitinib,bleomycin, bortezombi, bortezomib, busulfan intravenous, busulfan oral,calusterone, capecitabine, carboplatin, carmustine, cetuximab,chlorambucil, cisplatin, cladribine, clofarabine, cyclophosphamide,cytarabine, dacarbazine, dactinomycin, dalteparin sodium, dasatinib,daunorubicin, decitabine, denileukin, denileukin diftitox, dexrazoxane,docetaxel, doxorubicin, dromostanolone propionate, eculizumab,epirubicin, erlotinib, estramustine, etoposide phosphate, etoposide,exemestane, fentanyl citrate, filgrastim, floxuridine, fludarabine,fluorouracil, fulvestrant, gefitinib, gemcitabine, gemtuzumabozogamicin, goserelin acetate, histrelin acetate, ibritumomab tiuxetan,idarubicin, ifosfamide, imatinib mesylate, interferon alfa 2a,irinotecan, lapatinib ditosylate, lenalidomide, letrozole, leucovorin,leuprolide acetate, levamisole, lomustine, meclorethamine, megestrolacetate, melphalan, mercaptopurine, methotrexate, methoxsalen, mitomycinC, mitotane, mitoxantrone, nandrolone phenpropionate, nelarabine,nofetumomab, olaparib, oxaliplatin, paclitaxel, pamidronate,panitumumab, pegaspargase, pegfilgrastim, pemetrexed disodium,pentostatin, pipobroman, plicamycin, procarbazine, quinacrine,rasburicase, rituximab, ruxolitinib, rucaparib, sorafenib, streptozocin,sunitinib, sunitinib maleate, tamoxifen, temozolomide, teniposide,testolactone, thalidomide, thioguanine, thiotepa, topotecan, toremifene,tositumomab, trastuzumab, tretinoin, uracil mustard, valrubicin,vinblastine, vincristine, vinorelbine, vorinostat, niraparib, veliparib,talazoparib and zoledronate.

Other anti-cancer agent(s) include antibody therapeutics such astrastuzumab (Herceptin), antibodies to costimulatory molecules such asCTLA-4 (e.g., ipilimumab), 4-1BB (e.g. urelumab, utomilumab), antibodiesto PD-1 and PD-L1, or antibodies to cytokines (IL-10, TGF-β, etc.).Examples of antibodies to PD-1 and/or PD-L1 that can be combined withcompounds of the present disclosure for the treatment of cancer orinfections such as viral, bacteria, fungus and parasite infectionsinclude, but are not limited to, nivolumab, pembrolizumab, MPDL3280A,MEDI-4736 and SHR-1210.

In some embodiments, the anti-cancer agent is an alkylating agent, aproteasome inhibitor, a corticosteroid, or an immunomodulatory agent.Examples of an alkylating agent include cyclophosphamide (CY), melphalan(MEL), and bendamustine. In some embodiments, the proteasome inhibitoris carfilzomib. In some embodiments, the corticosteroid is dexamethasone(DEX). In some embodiments, the immunomodulatory agent is lenalidomide(LEN) or pomalidomide (POM).

The compounds of Formula (I) or any of the formulas as described herein,a compound as recited in any of the claims and described herein, orsalts, stereoisomers thereof can be used in combination with an immunecheckpoint inhibitor for the treatment of cancer and viral infections.

Exemplary immune checkpoint inhibitors include inhibitors against immunecheckpoint molecules such as CD27, CD28, CD40, CD122, CD96, CD73, CD47,OX40, GITR, CSF1R, JAK, PI3K delta, PI3K gamma, TAM, arginase, CD137(also known as 4-1BB), ICOS, A2AR, B7-H3, B7-H4, BTLA, CTLA-4, LAG3,TIM3, VISTA, PD-1, PD-L1 and PD-L2. In some embodiments, the immunecheckpoint molecule is a stimulatory checkpoint molecule selected fromCD27, CD28, CD40, ICOS, OX40, GITR and CD137. In some embodiments, theimmune checkpoint molecule is an inhibitory checkpoint molecule selectedfrom A2AR, B7-H3, B7-H4, BTLA, CTLA-4, IDO, KIR, LAG3, PD-1, TIM3, andVISTA. In some embodiments, the compounds provided herein can be used incombination with one or more agents selected from KIR inhibitors, TIGITinhibitors, LAIR1 inhibitors, CD160 inhibitors, 2B4 inhibitors and TGFRbeta inhibitors.

In some embodiments, the inhibitor of an immune checkpoint molecule isanti-PD1 antibody, anti-PD-L1 antibody, or anti-CTLA-4 antibody.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of PD-1, e.g., an anti-PD-1 monoclonal antibody. In someembodiments, the anti-PD-1 monoclonal antibody is nivolumab,pembrolizumab (also known as MK-3475), pidilizumab, SHR-1210, PDR001, orAMP-224. In some embodiments, the anti-PD-1 monoclonal antibody isnivolumab or pembrolizumab. In some embodiments, the anti-PD1 antibodyis pembrolizumab.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of PD-L1, e.g., an anti-PD-L1 monoclonal antibody. In someembodiments, the anti-PD-L1 monoclonal antibody is BMS-935559, MEDI4736,MPDL3280A (also known as RG7446), or MSB0010718C. In some embodiments,the anti-PD-L1 monoclonal antibody is MPDL3280A or MEDI4736.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of CTLA-4, e.g., an anti-CTLA-4 antibody. In someembodiments, the anti-CTLA-4 antibody is ipilimumab.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of LAG3, e.g., an anti-LAG3 antibody. In some embodiments,the anti-LAG3 antibody is BMS-986016 or LAG525.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of GITR, e.g., an anti-GITR antibody. In some embodiments,the anti-GITR antibody is TRX518 or MK-4166.

In some embodiments, the inhibitor of an immune checkpoint molecule isan inhibitor of OX40, e.g., an anti-OX40 antibody or OX40L fusionprotein. In some embodiments, the anti-OX40 antibody is MEDI0562. Insome embodiments, the OX40L fusion protein is MEDI6383.

The compounds of the present disclosure can further be used incombination with one or more anti-inflammatory agents, steroids,immunosuppressants or therapeutic antibodies.

The compounds of Formula (I) or any of the formulas as described herein,a compound as recited in any of the claims and described herein, orsalts thereof can be combined with another immunogenic agent, such ascancerous cells, purified tumor antigens (including recombinantproteins, peptides, and carbohydrate molecules), cells, and cellstransfected with genes encoding immune stimulating cytokines.Non-limiting examples of tumor vaccines that can be used includepeptides of melanoma antigens, such as peptides of gp100, MAGE antigens,Trp-2, MARTI and/or tyrosinase, or tumor cells transfected to expressthe cytokine GM-CSF.

The compounds of Formula (I) or any of the formulas as described herein,a compound as recited in any of the claims and described herein, orsalts thereof can be used in combination with a vaccination protocol forthe treatment of cancer. In some embodiments, the tumor cells aretransduced to express GM-CSF. In some embodiments, tumor vaccinesinclude the proteins from viruses implicated in human cancers such asHuman Papilloma Viruses (HPV), Hepatitis Viruses (HBV and HCV) andKaposi's Herpes Sarcoma Virus (KHSV). In some embodiments, the compoundsof the present disclosure can be used in combination with tumor specificantigen such as heat shock proteins isolated from tumor tissue itself.In some embodiments, the compounds of Formula (I) or any of the formulasas described herein, a compound as recited in any of the claims anddescribed herein, or salts thereof can be combined with dendritic cellsimmunization to activate potent anti-tumor responses.

The compounds of the present disclosure can be used in combination withbispecific macrocyclic peptides that target Fe alpha or Fe gammareceptor-expressing effectors cells to tumor cells. The compounds of thepresent disclosure can also be combined with macrocyclic peptides thatactivate host immune responsiveness.

The compounds of the present disclosure can be used in combination withbone marrow transplant for the treatment of a variety of tumors ofhematopoietic origin.

The compounds of Formula (I) or any of the formulas as described herein,a compound as recited in any of the claims and described herein, orsalts thereof can be used in combination with vaccines, to stimulate theimmune response to pathogens, toxins, and self antigens. Examples ofpathogens for which this therapeutic approach may be particularlyuseful, include pathogens for which there is currently no effectivevaccine, or pathogens for which conventional vaccines are less thancompletely effective. These include, but are not limited to, HIV,Hepatitis (A, B, & C), Influenza, Herpes, Giardia, Malaria, Leishmania,Staphylococcus aureus, Pseudomonas Aeruginosa.

Viruses causing infections treatable by methods of the presentdisclosure include, but are not limit to human papillomavirus,influenza, hepatitis A, B, C or D viruses, adenovirus, poxvirus, herpessimplex viruses, human cytomegalovirus, severe acute respiratorysyndrome virus, ebola virus, measles virus, herpes virus (e.g., VZV,HSV-1, HAV-6, HSV-II, and CMV, Epstein Barr virus), flaviviruses,echovirus, rhinovirus, coxsackie virus, cornovirus, respiratorysyncytial virus, mumpsvirus, rotavirus, measles virus, rubella virus,parvovirus, vaccinia virus, HTLV virus, dengue virus, papillomavirus,molluscum virus, poliovirus, rabies virus, JC virus and arboviralencephalitis virus.

Pathogenic bacteria causing infections treatable by methods of thedisclosure include, but are not limited to, chlamydia, rickettsialbacteria, mycobacteria, staphylococci, streptococci, pneumonococci,meningococci and conococci, klebsiella, proteus, serratia, pseudomonas,legionella, diphtheria, salmonella, bacilli, cholera, tetanus, botulism,anthrax, plague, leptospirosis, and Lyme's disease bacteria.

Pathogenic fungi causing infections treatable by methods of thedisclosure include, but are not limited to, Candida (albicans, krusei,glabrata, tropicalis, etc.), Cryptococcus neoformans, Aspergillus(fumigatus, niger, etc.), Genus Mucorales (mucor, absidia, rhizophus),Sporothrix schenkii, Blastomyces dermatitidis, Paracoccidioidesbrasiliensis, Coccidioides immitis and Histoplasma capsulatum.

Pathogenic parasites causing infections treatable by methods of thedisclosure include, but are not limited to, Entamoeba histolytica,Balantidium coli, Naegleria fowleri, Acanthamoeba sp., Giardia lambia,Cryptosporidium sp., Pneumocystis carinii, Plasmodium vivax, Babesiamicroti, Trypanosoma brucei, Trypanosoma cruzi, Leishmania donovani,Toxoplasma gondi, and Nippostrongylus brasiliensis.

When more than one pharmaceutical agent is administered to a patient,they can be administered simultaneously, separately, sequentially, or incombination (e.g., for more than two agents).

IV Formulation, Dosage Forms and Administration

When employed as pharmaceuticals, the compounds of the presentdisclosure can be administered in the form of pharmaceuticalcompositions. Thus the present disclosure provides a compositioncomprising a compound of Formula (I) or any of the formulas as describedherein, a compound as recited in any of the claims and described herein,or a pharmaceutically acceptable salt thereof, or any of the embodimentsthereof, and at least one pharmaceutically acceptable carrier orexcipient. These compositions can be prepared in a manner well known inthe pharmaceutical art, and can be administered by a variety of routes,depending upon whether local or systemic treatment is indicated and uponthe area to be treated. Administration may be topical (includingtransdermal, epidermal, ophthalmic and to mucous membranes includingintranasal, vaginal and rectal delivery), pulmonary (e.g., by inhalationor insufflation of powders or aerosols, including by nebulizer;intratracheal or intranasal), oral or parenteral. Parenteraladministration includes intravenous, intraarterial, subcutaneous,intraperitoneal intramuscular or injection or infusion; or intracranial,e.g., intrathecal or intraventricular, administration. Parenteraladministration can be in the form of a single bolus dose, or may be,e.g., by a continuous perfusion pump. Pharmaceutical compositions andformulations for topical administration may include transdermal patches,ointments, lotions, creams, gels, drops, suppositories, sprays, liquidsand powders. Conventional pharmaceutical carriers, aqueous, powder oroily bases, thickeners and the like may be necessary or desirable.

This invention also includes pharmaceutical compositions which contain,as the active ingredient, the compound of the present disclosure or apharmaceutically acceptable salt thereof, in combination with one ormore pharmaceutically acceptable carriers or excipients.

In some embodiments, the composition is suitable for topicaladministration. In making the compositions of the invention, the activeingredient is typically mixed with an excipient, diluted by an excipientor enclosed within such a carrier in the form of, e.g., a capsule,sachet, paper, or other container. When the excipient serves as adiluent, it can be a solid, semi-solid, or liquid material, which actsas a vehicle, carrier or medium for the active ingredient. Thus, thecompositions can be in the form of tablets, pills, powders, lozenges,sachets, cachets, elixirs, suspensions, emulsions, solutions, syrups,aerosols (as a solid or in a liquid medium), ointments containing, e.g.,up to 10% by weight of the active compound, soft and hard gelatincapsules, suppositories, sterile injectable solutions and sterilepackaged powders.

In preparing a formulation, the active compound can be milled to providethe appropriate particle size prior to combining with the otheringredients. If the active compound is substantially insoluble, it canbe milled to a particle size of less than 200 mesh. If the activecompound is substantially water soluble, the particle size can beadjusted by milling to provide a substantially uniform distribution inthe formulation, e.g., about 40 mesh.

The compounds of the invention may be milled using known millingprocedures such as wet milling to obtain a particle size appropriate fortablet formation and for other formulation types. Finely divided(nanoparticulate) preparations of the compounds of the invention can beprepared by processes known in the art see, e.g., WO 2002/000196.

Some examples of suitable excipients include lactose, dextrose, sucrose,sorbitol, mannitol, starches, gum acacia, calcium phosphate, alginates,tragacanth, gelatin, calcium silicate, microcrystalline cellulose,polyvinylpyrrolidone, cellulose, water, syrup and methyl cellulose. Theformulations can additionally include: lubricating agents such as talc,magnesium stearate and mineral oil; wetting agents; emulsifying andsuspending agents; preserving agents such as methyl- andpropylhydroxy-benzoates; sweetening agents; and flavoring agents. Thecompositions of the invention can be formulated so as to provide quick,sustained or delayed release of the active ingredient afteradministration to the patient by employing procedures known in the art.

In some embodiments, the pharmaceutical composition comprises silicifiedmicrocrystalline cellulose (SMCC) and at least one compound describedherein, or a pharmaceutically acceptable salt thereof. In someembodiments, the silicified microcrystalline cellulose comprises about98% microcrystalline cellulose and about 2% silicon dioxide w/w.

In some embodiments, the composition is a sustained release compositioncomprising at least one compound described herein, or a pharmaceuticallyacceptable salt thereof, and at least one pharmaceutically acceptablecarrier or excipient. In some embodiments, the composition comprises atleast one compound described herein, or a pharmaceutically acceptablesalt thereof, and at least one component selected from microcrystallinecellulose, lactose monohydrate, hydroxypropyl methylcellulose andpolyethylene oxide. In some embodiments, the composition comprises atleast one compound described herein, or a pharmaceutically acceptablesalt thereof, and microcrystalline cellulose, lactose monohydrate andhydroxypropyl methylcellulose. In some embodiments, the compositioncomprises at least one compound described herein, or a pharmaceuticallyacceptable salt thereof, and microcrystalline cellulose, lactosemonohydrate and polyethylene oxide. In some embodiments, the compositionfurther comprises magnesium stearate or silicon dioxide. In someembodiments, the microcrystalline cellulose is Avicel PH102™. In someembodiments, the lactose monohydrate is Fast-flo 316™. In someembodiments, the hydroxypropyl methylcellulose is hydroxypropylmethylcellulose 2208 K4M (e.g., Methocel K4 M Premier™) and/orhydroxypropyl methylcellulose 2208 K100LV (e.g., Methocel K00LV™). Insome embodiments, the polyethylene oxide is polyethylene oxide WSR 1105(e.g., Polyox WSR 1105™).

In some embodiments, a wet granulation process is used to produce thecomposition. In some embodiments, a dry granulation process is used toproduce the composition.

The compositions can be formulated in a unit dosage form, each dosagecontaining from about 5 to about 1,000 mg (1 g), more usually about 100mg to about 500 mg, of the active ingredient. In some embodiments, eachdosage contains about 10 mg of the active ingredient. In someembodiments, each dosage contains about 50 mg of the active ingredient.In some embodiments, each dosage contains about 25 mg of the activeingredient. The term “unit dosage forms” refers to physically discreteunits suitable as unitary dosages for human subjects and other mammals,each unit containing a predetermined quantity of active materialcalculated to produce the desired therapeutic effect, in associationwith a suitable pharmaceutical excipient.

The components used to formulate the pharmaceutical compositions are ofhigh purity and are substantially free of potentially harmfulcontaminants (e.g., at least National Food grade, generally at leastanalytical grade, and more typically at least pharmaceutical grade).Particularly for human consumption, the composition is preferablymanufactured or formulated under Good Manufacturing Practice standardsas defined in the applicable regulations of the U.S. Food and DrugAdministration. For example, suitable formulations may be sterile and/orsubstantially isotonic and/or in full compliance with all GoodManufacturing Practice regulations of the U.S. Food and DrugAdministration.

The active compound may be effective over a wide dosage range and isgenerally administered in a therapeutically effective amount. It will beunderstood, however, that the amount of the compound actuallyadministered will usually be determined by a physician, according to therelevant circumstances, including the condition to be treated, thechosen route of administration, the actual compound administered, theage, weight, and response of the individual patient, the severity of thepatient's symptoms and the like.

The therapeutic dosage of a compound of the present invention can varyaccording to, e.g., the particular use for which the treatment is made,the manner of administration of the compound, the health and conditionof the patient, and the judgment of the prescribing physician. Theproportion or concentration of a compound of the invention in apharmaceutical composition can vary depending upon a number of factorsincluding dosage, chemical characteristics (e.g., hydrophobicity), andthe route of administration. For example, the compounds of the inventioncan be provided in an aqueous physiological buffer solution containingabout 0.1 to about 10% w/v of the compound for parenteraladministration. Some typical dose ranges are from about 1 μg/kg to about1 g/kg of body weight per day. In some embodiments, the dose range isfrom about 0.01 mg/kg to about 100 mg/kg of body weight per day. Thedosage is likely to depend on such variables as the type and extent ofprogression of the disease or disorder, the overall health status of theparticular patient, the relative biological efficacy of the compoundselected, formulation of the excipient, and its route of administration.Effective doses can be extrapolated from dose-response curves derivedfrom in vitro or animal model test systems.

For preparing solid compositions such as tablets, the principal activeingredient is mixed with a pharmaceutical excipient to form a solidpreformulation composition containing a homogeneous mixture of acompound of the present invention. When referring to thesepreformulation compositions as homogeneous, the active ingredient istypically dispersed evenly throughout the composition so that thecomposition can be readily subdivided into equally effective unit dosageforms such as tablets, pills and capsules. This solid preformulation isthen subdivided into unit dosage forms of the type described abovecontaining from, e.g., about 0.1 to about 1000 mg of the activeingredient of the present invention.

The tablets or pills of the present invention can be coated or otherwisecompounded to provide a dosage form affording the advantage of prolongedaction. For example, the tablet or pill can comprise an inner dosage andan outer dosage component, the latter being in the form of an envelopeover the former. The two components can be separated by an enteric layerwhich serves to resist disintegration in the stomach and permit theinner component to pass intact into the duodenum or to be delayed inrelease. A variety of materials can be used for such enteric layers orcoatings, such materials including a number of polymeric acids andmixtures of polymeric acids with such materials as shellac, cetylalcohol and cellulose acetate.

The liquid forms in which the compounds and compositions of the presentinvention can be incorporated for administration orally or by injectioninclude aqueous solutions, suitably flavored syrups, aqueous or oilsuspensions, and flavored emulsions with edible oils such as cottonseedoil, sesame oil, coconut oil, or peanut oil, as well as elixirs andsimilar pharmaceutical vehicles.

Compositions for inhalation or insufflation include solutions andsuspensions in pharmaceutically acceptable, aqueous or organic solvents,or mixtures thereof, and powders. The liquid or solid compositions maycontain suitable pharmaceutically acceptable excipients as describedsupra. In some embodiments, the compositions are administered by theoral or nasal respiratory route for local or systemic effect.Compositions can be nebulized by use of inert gases. Nebulized solutionsmay be breathed directly from the nebulizing device or the nebulizingdevice can be attached to a face mask, tent, or intermittent positivepressure breathing machine. Solution, suspension, or powder compositionscan be administered orally or nasally from devices which deliver theformulation in an appropriate manner.

Topical formulations can contain one or more conventional carriers. Insome embodiments, ointments can contain water and one or morehydrophobic carriers selected from, e.g., liquid paraffin,polyoxyethylene alkyl ether, propylene glycol, white Vaseline, and thelike. Carrier compositions of creams can be based on water incombination with glycerol and one or more other components, e.g.,glycerinemonostearate, PEG-glycerinemonostearate and cetylstearylalcohol. Gels can be formulated using isopropyl alcohol and water,suitably in combination with other components such as, e.g., glycerol,hydroxyethyl cellulose, and the like. In some embodiments, topicalformulations contain at least about 0.1, at least about 0.25, at leastabout 0.5, at least about 1, at least about 2 or at least about 5 wt %of the compound of the invention. The topical formulations can besuitably packaged in tubes of, e.g., 100 g which are optionallyassociated with instructions for the treatment of the select indication,e.g., psoriasis or other skin condition.

The amount of compound or composition administered to a patient willvary depending upon what is being administered, the purpose of theadministration, such as prophylaxis or therapy, the state of thepatient, the manner of administration and the like. In therapeuticapplications, compositions can be administered to a patient alreadysuffering from a disease in an amount sufficient to cure or at leastpartially arrest the symptoms of the disease and its complications.Effective doses will depend on the disease condition being treated aswell as by the judgment of the attending clinician depending uponfactors such as the severity of the disease, the age, weight and generalcondition of the patient and the like.

The compositions administered to a patient can be in the form ofpharmaceutical compositions described above. These compositions can besterilized by conventional sterilization techniques, or may be sterilefiltered. Aqueous solutions can be packaged for use as is, orlyophilized, the lyophilized preparation being combined with a sterileaqueous carrier prior to administration. The pH of the compoundpreparations typically will be between 3 and 11, more preferably from 5to 9 and most preferably from 7 to 8. It will be understood that use ofcertain of the foregoing excipients, carriers or stabilizers will resultin the formation of pharmaceutical salts.

The therapeutic dosage of a compound of the present invention can varyaccording to, e.g., the particular use for which the treatment is made,the manner of administration of the compound, the health and conditionof the patient, and the judgment of the prescribing physician. Theproportion or concentration of a compound of the invention in apharmaceutical composition can vary depending upon a number of factorsincluding dosage, chemical characteristics (e.g., hydrophobicity), andthe route of administration. For example, the compounds of the inventioncan be provided in an aqueous physiological buffer solution containingabout 0.1 to about 10% w/v of the compound for parenteraladministration. Some typical dose ranges are from about 1 μg/kg to about1 g/kg of body weight per day. In some embodiments, the dose range isfrom about 0.01 mg/kg to about 100 mg/kg of body weight per day. Thedosage is likely to depend on such variables as the type and extent ofprogression of the disease or disorder, the overall health status of theparticular patient, the relative biological efficacy of the compoundselected, formulation of the excipient, and its route of administration.Effective doses can be extrapolated from dose-response curves derivedfrom in vitro or animal model test systems.

V. Labeled Compounds and Assay Methods

The compounds of the present disclosure can further be useful ininvestigations of biological processes in normal and abnormal tissues.Thus, another aspect of the present invention relates to labeledcompounds of the invention (radio-labeled, fluorescent-labeled, etc.)that would be useful not only in imaging techniques but also in assays,both in vitro and in vivo, for localizing and quantitating PD-1 or PD-L1protein in tissue samples, including human, and for identifying PD-L1ligands by inhibition binding of a labeled compound. Accordingly, thepresent invention includes PD-1/PD-L1 binding assays that contain suchlabeled compounds.

The present invention further includes isotopically-substitutedcompounds of the disclosure. An “isotopically-substituted” compound is acompound of the invention where one or more atoms are replaced orsubstituted by an atom having the same atomic number but differentatomic mass or mass number e.g., a different atomic mass or mass numberfrom the atomic mass or mass number typically found in nature (i.e.,naturally occurring). It is to be understood that a “radio-labeled”compound is a compound that has incorporated at least one isotope thatis radioactive (e.g., radionuclide). Suitable radionuclides that may beincorporated in compounds of the present invention include but are notlimited to ³H (also written as T for tritium), ¹¹C, ¹³C, ¹⁴C, ¹³N, ¹⁵N,¹⁵O, ¹⁷O, ¹⁸O, ¹⁸F, ³⁵S, ³⁶Cl, ⁸²Br, ⁷⁵Br, ⁷⁶Br, ⁷⁷Br, ¹²³I, ¹²⁴I, ¹²⁵Iand ¹³¹I. The radionuclide that is incorporated in the instantradio-labeled compounds will depend on the specific application of thatradio-labeled compound. For example, for in vitro PD-L1 protein labelingand competition assays, compounds that incorporate ³H, ¹⁴C, ⁸²Br, ¹²⁵I,¹³¹I, ³⁵S or will generally be most useful. For radio-imagingapplications ¹¹C, ¹⁸F, ¹²⁵I, ¹²³I, ¹²⁴I, ¹³¹I, ⁷⁵Br, ⁷⁶Br or ⁷⁷Br willgenerally be most useful.

It is understood that a “radio-labeled” or “labeled compound” is acompound that has incorporated at least one radionuclide. In someembodiments the radionuclide is selected from the group consisting of³H, ¹⁴C, ¹²⁵I, ³⁵S and ⁸²Br. Synthetic methods for incorporatingradio-isotopes into organic compounds are applicable to compoundsprovided herein and are well known in the art.

A radio-labeled compound of the invention can be used in a screeningassay to identify and/or evaluate compounds. In general terms, a newlysynthesized or identified compound (i.e., test compound) which islabeled can be evaluated for its ability to bind a PD-L1 protein bymonitoring its concentration variation when contacting with the PD-L1protein, through tracking of the labeling. For example, a test compound(radio-labeled) can be evaluated for its ability to reduce binding ofanother compound which is known to bind to a PD-L1 protein (i.e.,standard compound). Accordingly, the ability of a test compound tocompete with the standard compound for binding to the PD-L1 proteindirectly correlates to its binding affinity. Conversely, in some otherscreening assays, the standard compound is labeled and test compoundsare unlabeled. Accordingly, the concentration of the labeled standardcompound is monitored in order to evaluate the competition between thestandard compound and the test compound, and the relative bindingaffinity of the test compound is thus ascertained.

V. Kits

The present disclosure also includes pharmaceutical kits useful, e.g.,in the treatment or prevention of diseases or disorders associated withthe activity of PD-L1 including its interaction with other proteins suchas PD-1 and B7-1 (CD80), such as cancer or infections, which include oneor more containers containing a pharmaceutical composition comprising atherapeutically effective amount of a compound of Formula (I), or any ofthe embodiments thereof. Such kits can further include one or more ofvarious conventional pharmaceutical kit components, such as, e.g.,containers with one or more pharmaceutically acceptable carriers,additional containers, etc., as will be readily apparent to thoseskilled in the art. Instructions, either as inserts or as labels,indicating quantities of the components to be administered, guidelinesfor administration, and/or guidelines for mixing the components, canalso be included in the kit.

The invention will be described in greater detail by way of specificexamples. The following examples are offered for illustrative purposes,and are not intended to limit the invention in any manner. Those ofskill in the art will readily recognize a variety of non-criticalparameters which can be changed or modified to yield essentially thesame results. The compounds of the Examples have been found to inhibitthe activity of PD-1/PD-L1 protein/protein interaction according to atleast one assay described herein.

EXAMPLES

Experimental procedures for compounds of the invention are providedbelow. Open Access Preparative LCMS Purification of some of thecompounds prepared was performed on Waters mass directed fractionationsystems. The basic equipment setup, protocols and control software forthe operation of these systems have been described in detail inliterature. See, e.g., Blom, “Two-Pump At Column Dilution Configurationfor Preparative LC-MS”, K. Blom, J. Combi. Chem., 2002, 4, 295-301; Blomet al., “Optimizing Preparative LC-MS Configurations and Methods forParallel Synthesis Purification”, J. Combi. Chem., 2003, 5, 670-83; andBlom et al., “Preparative LC-MS Purification: Improved Compound SpecificMethod Optimization”, J. Combi. Chem., 2004, 6, 874-883.

Example 1:2-(((8-((2-chloro-2′-methyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)amino)ethan-1-ol

Step 1: 8-chloro-3-vinyl-1,7-naphthyridine

A mixture of 3-bromo-8-chloro-1,7-naphthyridine (PharmaBlock,cat#PBLJ2743: 0.200 g, 0.821 mmol),4,4,5,5-tetramethyl-2-vinyl-1,3,2-dioxaborolane (Aldrich, cat#663348:153 μL, 0.904 mmol), sodium carbonate (0.174 g, 1.64 mmol) and[1,1′-bis(di-cyclohexylphosphino)ferrocene]dichloropalladium(II)(Aldrich, cat#701998: 6.2 mg, 0.0082 mmol) in tert-butyl alcohol (5.91mL, 61.8 mmol) and water (6 mL, 300 mmol) was degassed and sealed. Itwas stirred at 110° C. for 2 h. The reaction mixture was cooled thenextracted with ethyl acetate (3×20 mL). The combined organic layers werewashed with brine, dried over MgSO₄, filtered and concentrated underreduced pressure. The crude residue was used directly in the next stepwithout further purification. LC-MS calculated for C₁₀H₈ClN₂ (M+H)⁺:m/z=191.0; found 191.0.

Step 2: 8-chloro-1,7-naphthyridine-3-carbaldehyde

A flask was charged with 8-chloro-3-vinyl-1,7-naphthyridine (391. mg,2.05 mmol), 1,4-dioxane (40. mL), a stir bar and water (40. mL). To thissuspension was added a 4% w/w mixture of osmium tetraoxide in water(0.84 mL, 0.132 mmol). The reaction was stirred for 5 min then sodiumperiodate (3.23 g, 15.11 mmol) was added and stirred for 3 h. Themixture was diluted with water (20 mL) and EtOAc (20 mL). The layerswere separated and the aqueous layer was further extracted with EtOAc(2×20 mL). The combined organic extracts were washed with brine, driedover sodium sulfate, filtered, and concentrated in vacuo. The crudealdehyde was purified by silica gel chromatography (0→60%EtOAc/hexanes). LC-MS calculated for C₉H₆ClN₂O (M+H)⁺: m/z=193.0; found192.9.

Step 3: 2-{[(8-chloro-1,7-naphthyridin-3-yl)methyl]amino}ethanol

A mixture of 8-chloro-1,7-naphthyridine-3-carbaldehyde (0.160 g, 0.831mmol) and ethanolamine (Aldrich, cat#398136: 251 μL, 4.15 mmol) inmethylene chloride (6 mL, 100 mmol) and N,N-diisopropylethylamine (868μL, 4.98 mmol) was stirred at rt for 1 h. Sodium triacetoxyborohydride(0.528 g, 2.49 mmol) was carefully added in portions. The reaction wasstirred at rt for 2 h. To the mixture was then carefully added sodiumtetrahydroborate (157 mg, 4.15 mmol) and methanol (1 mL) and thereaction mixture was stirred overnight under nitrogen. The reaction wasquenched with a saturated aqueous solution of sodium bicarbonate. Themixture was then extracted with a 3:1 mixture of chloroform/isopropylalcohol. The combined organic layers were washed with brine, dried oversodium sulfate, then concentrated in vacuo. The crude residue waspurified by column chromatography (0→50% methanol/DCM) and was obtainedas an off white solid. LC-MS calculated for C₁₁H₁₃ClN₃O (M+H)⁺:m/z=238.1; found 238.1.

Step 4:2-(((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)amino)ethan-1-ol

To a vial was added 3-bromo-2-chloroaniline (Enamine, cat# EN300-105778:0.021 g, 0.101 mmol) and2-(((8-chloro-1,7-naphthyridin-3-yl)methyl)amino)ethan-1-ol (0.020 g,0.084 mmol). The solids were suspended in isopropanol (0.421 ml).Sulfuric acid (4.48 μl, 0.084 mmol) was added to the reaction mixtureand then heated to 100° C. for 1 h. After cooling, the mixture wasquenched with a saturated aqueous sodium bicarbonate solution, andextracted with 3:1 chloroform/isopropyl alcohol. The combined organicextracts were dried over magnesium sulfate, filtered, and concentratedin vacuo. The crude residue was purified using silica gel chromatography(1:1 DCM/MeOH) to afford a yellow solid. LC-MS calculated forC₁₇H₁₇BrClN₄O (M+H)⁺: m/z=407.0; found 407.2.

Step 5: tert-butyl2-(3-chloro-2-methylphenyl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylate

To a vial was added (3-chloro-2-methylphenyl)boronic acid (Combi-blocks,cat#BB-2035: 640 mg, 3.76 mmol), tert-butyl2-bromo-6,7-dihydro[1,3]thiazolo[5,4-c]pyridine-5(4H)-carboxylate(AstaTech, cat#AB1021: 1000. mg, 3.133 mmol), sodium carbonate (996 mg,9.40 mmol), tert-butyl alcohol (160 mmol), water (600 mmol)[1,1′-bis(di-cyclohexylphosphino)ferrocene]dichloropalladium(II)(Aldrich, cat#701998: 240 mg, 0.31 mmol). The mixture was sparged withnitrogen, then heated at 105° C. for 1.5 h. The mixture wasconcentrated, dissolved with DCM, and purified using silica gelchromatography (40% EtOAc/hexanes). LC-MS calculated for C₁₈H₂₂ClN₂O₂S(M+H)⁺: m/z=365.1; found 365.1.

Step 6: tert-butyl2-(2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-(3-chloro-2-methylphenyl)-6,7-dihydro[1,3]thiazolo[5,4-c]pyridine-5(4H)-carboxylate(261 mg, 0.715 mmol),4,4,5,5,4′,4′,5′,5′-octamethyl-[2,2′]bi[[1,3,2]dioxaborolanyl] (Aldrich,cat#473294: 545 mg, 2.14 mmol), palladium acetate (6.42 mg, 0.0286mmol), K₃PO₄ (455 mg, 2.14 mmol) and2-(dicyclohexylphosphino)-2′,6′-dimethoxy-1,1′-biphenyl (StremChemicals, cat#15-1143: 29.4 mg, 0.0715 mmol) in 1,4-Dioxane wasdegassed and stirred at rt for 16 h. The mixture was diluted with DCM,and washed with water. The organic layer was concentrated in vacuo andpurified by silica-gel chromatography (5% EtOAc/DCM). LC-MS calculatedfor C₂₄H₃₄BN₂O₄S (M+H)⁺: m/z=457.2; found 457.3.

Step 7: tert-butyl2-(2′-chloro-3′-(3-((2-hydroxyethylamino)methyl)-1,7-naphthyridin-8-ylamino)-2-methylbiphenyl-3-yl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylate

To a vial was added tert-butyl2-(2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylate(0.013 g, 0.029 mmol),2-(((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)amino)ethan-1-ol(0.008 g, 0.020 mmol), sodium carbonate (6.24 mg, 0.059 mmol),[1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium(II) (1.436 mg,1.962 μmol), 1,4-dioxane (0.346 ml), and water (0.046 ml). The mixturewas degassed, sealed, and heated to 90° C. whilst stirring for 4 h.After cooling, the mixture was diluted with DCM and water. The layerswere separated and the aqueous layer was further extracted. The combinedorganic layers were dried over magnesium sulfate, filtered, concentratedin vacuo, and purified by silica gel chromatography (MeOH/DCM). LC-MScalculated for C₃₅H₃₈ClN₆O₃S (M+H)⁺: m/z=657.2; found 657.5.

Step 8:2-(((8-((2-chloro-2′-methyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)amino)ethan-1-ol

A vial was charged with tert-butyl2-(2′-chloro-3′-(3-((2-hydroxyethylamino)methyl)-1,7-naphthyridin-8-ylamino)-2-methylbiphenyl-3-yl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylate(13 mg, 0.020 mmol), DCM (0.4 mL) and TFA (0.010 mL, 1 mmol). Theresulting mixture was stirred for 1 h, open to air. The mixture was thendissolved in MeOH and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the compound as the TFA salt. LC-MScalculated for C₃₀H₃₀ClN₆OS (M+H)⁺: m/z=557.2; found 557.3.

Example 2:1-(((6-(2-fluoro-3′-(3-((2-hydroxyethylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)pyridin-3-yl)methyl)amino)cyclobutanecarboxylicacid

Step 1:2-(((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)amino)ethan-1-ol

This compound was prepared using a similar procedure as described forExample 1, Step 4 with 3-bromo-2-methylaniline (Aldrich, cat#530018)replacing 3-bromo-2-chloroaniline. The crude compound was purified usingcolumn chromatography (0→50% MeOH/DCM). LC-MS calculated for C₁₈H₂₀BrN₄O(M+H)⁺: m/z=387.1; found 387.2.

Step 2:5-(dimethoxymethyl)-N-(2-fluoro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)picolinamide

To a solution of2-fluoro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline(Combi-Blocks, cat#PN-5021: 200 mg, 0.844 mmol) and methyl5-(dimethoxymethyl)picolinate (Combi-Blocks, cat#QY-1318: 196 mg, 0.928mmol) in THF (8436 μl) was added 1.0 M potassium tert-butoxide in THF(1265 μl, 1.265 mmol) at rt. The mixture was stirred at rt for 2 h.Water and EtOAc were added, and the layers were separated. The aqueouslayer was further extracted with ethyl acetate, and the combined organiclayers were washed with brine, dried over magnesium sulfate, filtered,and concentrated in vacuo. The crude residue was purified using silicagel chromatography (30% EtOAc/hexanes). LC-MS calculated forC₂₁H₂₇BFN₂O₅ (M+H)⁺: m/z=417.2; found 417.3.

Step 3:5-(dimethoxymethyl)-N-(2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)picolinamide

To a vial was added5-(dimethoxymethyl)-N-(2-fluoro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)picolinamide(0.161 g, 0.387 mmol),2-(((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)amino)ethan-1-ol(0.10 g, 0.258 mmol), sodium carbonate (0.041 g, 0.387 mmol),[1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium(II) (0.019 g,0.026 mmol), 1,4-dioxane (4.56 ml), and water (0.608 ml). The mixturewas degassed, sealed, and heated to 90° C. whilst stirring for 4 h.After cooling, the mixture was diluted with DCM and water, and thelayers were separated. The aqueous layer was further extracted with DCM,and the combined organic layers were dried over magnesium sulfate,filtered, and concentrated in vacuo. The crude residue was purified bysilica gel chromatography (20% MeOH/DCM) to provide the desired product.LC-MS calculated for C₃₃H₃₄FN₆O₄ (M+H)⁺: m/z=597.3; found 597.2.

Step 4:N-(2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-formylpicolinamide

To a solution of5-(dimethoxymethyl)-N-(2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)picolinamide(0.068 g, 0.114 mmol) in DCM (1.899 ml) was added TFA (0.439 ml, 5.70mmol). The mixture was stirred at for 2 h. The mixture was concentratedand the residue was dissolved in DCM, and washed with a saturatedaqueous NaHCO₃ solution. The layers were separated and the aqueous layerwas further extracted with DCM. The combined organic layers were driedover magnesium sulfate, filtered and concentrated in vacuo. The crudeproduct was used directly in the next step without further purification.LC-MS calculated for C₃₁H₂₈FN₆O₃ (M+H)⁺: m/z=551.2; found 551.2.

Step 5:1-(((6-(2-fluoro-3′-(3-((2-hydroxyethylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)pyridin-3-yl)methyl)amino)cyclobutanecarboxylicacid

To a vial was addedN-(2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-formylpicolinamide(0.030 g, 0.054 mmol), 1-aminocyclobutane-1-carboxylic acid (Aldrich,cat#652369: 0.019 g, 0.163 mmol), dichloromethane (0.893 ml) andtriethylamine (0.016 ml, 0.115 mmol). The reaction was stirred at rt for2 h, then sodium triacetoxyborohydride (0.058 g, 0.272 mmol) and aceticacid (9.36 μl, 0.163 mmol) were added. The reaction was stirred for 2 h,then the mixture was diluted with methanol and purified by prep HPLC(pH=2, acetonitrile/water+TFA) to provide the desired compound as theTFA salt. LC-MS calculated for C₃₆H₃₇FN₇O₄ (M+H)⁺: m/z=650.3; found650.3.

Example 3:(S)-1-((6-((2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)pyridin-3-yl)methyl)piperidine-2-carboxylicacid

This compound was prepared using a similar procedure as described forExample 2, Step 5 with L-pipecolinic acid (Alfa Aesar, cat# L15373)replacing 1-aminocyclobutane-1-carboxylic acid. LC-MS calculated forC₃₇H₃₉FN₇O₄ (M+H)⁺: m/z=664.3; found 664.3.

Example 4:N-(2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(((2-hydroxyethyl)amino)methyl)picolinamide

This compound was prepared using a similar procedure as described forExample 2, Step 5 with ethanolamine (Aldrich, cat#398136) replacing1-aminocyclobutane-1-carboxylic acid. LC-MS calculated for C₃₃H₃₅FN₇O₃(M+H)⁺: m/z=596.3; found 596.2.

Example 5:N-(2-chloro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(((2-hydroxyethyl)amino)methyl)picolinamide

Step 1: 2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline

4,4,5,5,4′,4′,5′,5′-Octamethyl-[2,2′]bi[[1,3,2]dioxaborolanyl] (1.48 g,5.81 mmol), potassium acetate (0.428 g, 4.36 mmol),3-bromo-2-chloroaniline (Enamine, cat# EN300-105778: 0.300 g, 1.453mmol), 1,4-dioxane (7.27 ml) and[1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium (II) (0.053 g,0.073 mmol) was stirred in a closed vial flushed with argon at 110° C.for 2 h. The mixture was cooled, diluted with EtOAc, and filtered overcelite. The filtrate was concentrated and purified by silica gelchromatography (20% EtOAc/hexanes). LC-MS calculated for C₁₂H₁₈BClNO₂(M+H)⁺: m/z=254.1; found 254.1.

Step 2:N-(2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)-5-(dimethoxymethyl)picolinamide

This compound was prepared using a similar procedure as described forExample 2, Step 2 with2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)anilinereplacing2-fluoro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline. LC-MScalculated for C₂₁H₂₇BClN₂O₅ (M+H)⁺: m/z=433.2; found 433.1.

Step 3:N-(2-chloro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(dimethoxymethyl)picolinamide

This compound was prepared using a similar procedure as described forExample 2, Step 3 withN-(2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)-5-(dimethoxymethyl)picolinamidereplacing5-(dimethoxymethyl)-N-(2-fluoro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)picolinamide.LC-MS calculated for C₃₃H₃₄ClN₆O₄ (M+H)⁺: m/z=613.2; found 613.2.

Step 4:N-(2-chloro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-formylpicolinamide

This compound was prepared using a similar procedure as described forExample 2, Step 4 withN-(2-chloro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(dimethoxymethyl)picolinamidereplacing5-(dimethoxymethyl)-N-(2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)picolinamide.LC-MS calculated for C₃₁H₂₈ClN₆O₃ (M+H)⁺: m/z=567.2; found 567.2.

Step 5:N-(2-chloro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(((2-hydroxyethyl)amino)methyl)picolinamide

To a vial was addedN-(2-chloro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-formylpicolinamide(0.015 g, 0.026 mmol), ethanolamine (Aldrich, cat#398136: 0.0049 g,0.163 mmol), dichloromethane (0.893 ml) and N,N-diisopropylethylamine(0.028 mL, 0.159 mmol). The reaction was stirred at rt for 2 h, thensodium triacetoxyborohydride (0.058 g, 0.272 mmol) was added. Thereaction was stirred for 2 h, then the mixture was diluted with methanoland purified by prep HPLC (pH=2, acetonitrile/water+TFA; then pH=10,acetonitrile/water+NH₄OH). LC-MS calculated for C₃₃H₃₅ClN₇O₃ (M+H)⁺:m/z=612.2; found 612.2.

Example 6:N-(2-chloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(((R)-3-hydroxypyrrolidin-1-yl)methyl)picolinamide

Step 1: N-(3-bromo-2-methylphenyl)-3-vinyl-1,7-naphthyridin-8-amine

In a vial, 3-bromo-2-methylaniline (Aldrich, cat#530018: 0.931 ml, 7.55mmol) and 8-chloro-3-vinyl-1,7-naphthyridine (Example 1, Step 1: 1.20 g,6.29 mmol) were suspended in isopropanol (31.5 ml). Sulfuric acid (0.336ml, 6.29 mmol) was added to the reaction mixture. The resulting mixturewas heated to 100° C. for 1 h whilst stirring. The mixture was cooled,quenched with aqueous saturated sodium bicarbonate, and diluted withDCM. The layers were separated and the water layer was further extractedwith DCM. The combined organic layers were dried over magnesium sulfate,filtered and concentrated in vacuo. The crude solid was purified bycolumn chromatography (0→1% Methanol/DCM) to provide the desiredcompound as a yellow solid. LC-MS calculated for C₁₇H₁₅BrN₃ (M+H)⁺:m/z=340.0; found 340.1.

Step 2:2′-chloro-2-methyl-N3-(3-vinyl-1,7-naphthyridin-8-yl)-[1,1′-biphenyl]-3,3′-diamine

To a flask was added2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline (Example5, Step 1: 1.414 g, 5.58 mmol),N-(3-bromo-2-methylphenyl)-3-vinyl-1,7-naphthyridin-8-amine (1.2646 g,3.72 mmol), sodium carbonate (0.591 g, 5.58 mmol),[1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium (II) (0.272 g,0.372 mmol), 1,4-dioxane (32.8 ml), and water (4.37 ml). The mixture wasdegassed, sealed, and heated to 90° C. whilst stirring for 4 h. Themixture was cooled, diluted with EtOAc, and the layers were separated.The aqueous layer was further extracted with EtOAc, and the combinedorganic layers were washed with brine, dried of magnesium sulfate,filtered, and concentrated in vacuo. The crude residue was then purifiedby silica gel chromatography (20% EtOAc/hexanes) to provide the desiredcompound as a yellow solid. LC-MS calculated for C₂₃H₂₀ClN₄ (M+H)⁺:m/z=387.1; found 387.1.

Step 3:N-(2-chloro-2′-methyl-3′-((3-vinyl-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)-5-(dimethoxymethyl)picolinamide

To a solution of2′-chloro-2-methyl-N3-(3-vinyl-1,7-naphthyridin-8-yl)-[1,1′-biphenyl]-3,3′-diamine(0.682 g, 1.763 mmol) and methyl 5-(dimethoxymethyl)picolinate(Combi-Blocks, cat#QY-1318: 0.372 g, 1.763 mmol) in THF (17.63 ml) wasadded 1.0 M Potassium tert-butoxide in THF (2.64 ml, 2.64 mmol) at rt.The mixture was stirred at rt for 2 h. Water was added to quench thereaction. The layers were separated and the water layer was furtherextracted with ethyl acetate. The combined organic layers were washedwith brine, dried over magnesium sulfate, filtered and concentrated invacuo. The crude orange foam was used directly in the next step withoutfurther purification. LC-MS calculated for C₃₂H₂₉ClN₅O₃ (M+H)⁺:m/z=566.2; found 566.3.

Step 4:N-(2-chloro-2′-methyl-3′-((3-vinyl-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)-5-formylpicolinamide

This compound was prepared using a similar procedure as described forExample 2, Step 4 withN-(2-chloro-2′-methyl-3′-((3-vinyl-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)-5-(dimethoxymethyl)picolinamidereplacing5-(dimethoxymethyl)-N-(2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)picolinamide.LC-MS calculated for C₃₀H₂₃ClN₅O₂ (M+H)⁺: m/z=520.2; found 520.2.

Step 5:(R)—N-(2-chloro-2′-methyl-3′-((3-vinyl-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)-5-((3-hydroxypyrrolidin-1-yl)methyl)picolinamide

A mixture ofN-(2-chloro-2′-methyl-3′-((3-vinyl-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)-5-formylpicolinamide(0.180 g, 0.346 mmol) and (R)-3-hydroxypyrrolidine (Combi-Blocks,cat#AM-2005: 0.090 g, 1.038 mmol) in methylene chloride (1.731 ml) andN,N-diisopropylethylamine (0.301 ml, 1.731 mmol) was stirred at rt for 1h. Sodium triacetoxyborohydride (0.220 g, 1.038 mmol) was carefullyadded in portions. The reaction was stirred at rt for 2 h. The reactionwas quenched with a saturated aqueous solution of sodium bicarbonate.The mixture was then extracted with a 3:1 mixture of chloroform/IPA. Thecombined organic layers were washed with brine, dried over sodiumsulfate, and then concentrated in vacuo. The crude residue was purifiedby column chromatography (0→20% methanol/DCM). LC-MS calculated forC₃₄H₃₂ClN₆O₂ (M+H)⁺: m/z=591.2; found 591.4.

Step 6:(R)—N-(2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-((3-hydroxypyrrolidin-1-yl)methyl)picolinamide

A flask was charged with(R)—N-(2-chloro-2′-methyl-3′-((3-vinyl-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)-5-((3-hydroxypyrrolidin-1-yl)methyl)picolinamide(0.241 g, 0.408 mmol), 1,4-dioxane (4.5 mL) and water (2.3 mL). A 4%osmium tetroxide solution in water (0.181 ml, 0.029 mmol) was added tothe reaction mixture. After 5 min of stirring, sodium periodate (0.349g, 1.631 mmol) was added and the mixture was stirred for 3 h. Themixture was diluted with water (2 mL) and EtOAc (5 mL), and the layerswere separated. The aqueous layer was further extracted with EtOAc. Thecombined organic extracts were washed with brine, dried over sodiumsulfate, filtered, and concentrated in vacuo. The crude aldehyde waspurified by silica gel chromatography (20% MeOH/DCM). LC-MS calculatedfor C₃₃H₃₀ClN₆O₃ (M+H)⁺: m/z=593.2; found 593.1.

Step 7:N-(2-chloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(((R)-3-hydroxypyrrolidin-1-yl)methyl)picolinamide

To a vial was added(R)—N-(2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-((3-hydroxypyrrolidin-1-yl)methyl)picolinamide(0.030 g, 0.051 mmol), ethanolamine (Aldrich, cat#398136: 9.3 mg, 0.152mmol), dichloromethane (0.829 ml) and N,N-diisopropylethylamine (0.053ml, 0.303 mmol). The reaction was stirred at rt for 2 h, then sodiumtriacetoxyborohydride (0.054 g, 0.253 mmol) was added. The reaction wasstirred for 2 h, then the mixture was diluted with methanol and purifiedby prep HPLC (pH=2, acetonitrile/water+TFA) to provide the desiredcompound as the TFA salt. LC-MS calculated for C₃₇H₃₉ClN₇O₃ (M+H)⁺:m/z=664.3; found 664.2.

Example 7:(R)-1-((8-((2′-chloro-3′-(5-(((R)-3-hydroxypyrrolidin-1-yl)methyl)picolinamido)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a vial was added(R)—N-(2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-((3-hydroxypyrrolidin-1-yl)methyl)picolinamide(Example 6, Step 6: 0.030 g, 0.051 mmol), (R)-pyrrolidine-3-carboxylicacid (Combi-Blocks, cat#ST-7698: 0.017 g, 0.152 mmol), dichloromethane(0.829 ml) and triethylamine (0.016 ml, 0.115 mmol). The reaction wasstirred at rt for 2 h, then sodium triacetoxyborohydride (0.054 g, 0.253mmol) and acetic acid (8.69 μl, 0.152 mmol) were added. The reaction wasstirred for 2 h, then the mixture was diluted with methanol and purifiedby prep HPLC (pH=2, acetonitrile/water+TFA) to provide the compound asthe TFA salt. LC-MS calculated for C₃₈H₃₉ClN₇O₄ (M+H)⁺: m/z=692.3; found692.2.

Example 8:(R)-1-((8-((2′-chloro-3′-(5-((3-hydroxypyrrolidin-1-yl)methyl)picolinamido)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

This compound was prepared using a similar procedure as described forExample 7 with azetidine-3-carboxylic acid (Aldrich, cat#391131)replacing (R)-pyrrolidine-3-carboxylic acid. LC-MS calculated forC₃₇H₃₇ClN₇O₄ (M+H)⁺: m/z=678.3; found 678.3.

Example 9(R)-1-((8-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1:8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde

A suspension of(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol(Affinity Research Chemicals, #ARI-0169: 300.0 mg, 0.872 mmol) andmanganese dioxide (1515 mg, 17.43 mmol) in DCM (8716 μl) was stirred at45° C. for 1 h. The reaction was filtered through Celite® and thefiltrate was concentrated to yield a crude residue, which was useddirectly in the next step without further purification. LC-MS calculatedfor C₁₆H₁₃BrN₃O (M+H)⁺: m/z=342.0; found 342.0.

Step 2:(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

A mixture of8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde(0.100 g, 0.292 mmol) and (R)-3-hydroxypyrrolidine (Combi-Blocks,#AM-2005: 0.025 g, 0.292 mmol) in 1,2-dichloroethane (1.46 ml) andN,N-diisopropylethylamine (0.051 ml, 0.292 mmol) was stirred at rt for 1h. Sodium triacetoxyborohydride (0.093 g, 0.438 mmol) was carefullyadded in portions. The reaction was stirred at rt for 2 h, then quenchedwith a saturated aqueous solution of sodium bicarbonate. The mixture wasthen extracted with a 3:1 mixture of chloroform/IPA. The combinedorganic layers were dried over sodium sulfate, then concentrated invacuo. The crude residue was purified by silica gel chromatography(0→30% methanol/DCM) to give the desired product. LC-MS calculated forC₂₀H₂₂BrN₄O (M+H)⁺: m/z=413.1; found 413.1.

Step 3:(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol

A mixture of(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol(Affinity Research Chemicals, #ARI-0169: 0.300 g, 0.872 mmol),bis(pinacolato)diboron (Aldrich, #473294: 0.266 g, 1.046 mmol),dichloro[1,1′-bis(diphenylphosphino)ferrocene]palladium (II)dichloromethane adduct (0.071 g, 0.087 mmol) and potassium acetate(0.214 g, 2.179 mmol) was charged with nitrogen and stirred at 110° C.for 2 h. The crude was diluted with DCM, and then filtered throughCelite®. The filtrate was concentrated, and the resulting residue wasused directly in the next step without further purification. LC-MScalculated for C₂₂H₂₇BN₃O₃ (M+H)⁺: m/z=392.2; found 392.3.

Step 4:(R)-1-((8-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was added(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol(0.162 g, 0.414 mmol),(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.163 g, 0.394 mmol), 1 M aqueous sodium carbonate (0.789 mmol),[1,1′-bis(di-cyclohexylphosphino)ferrocene]-dichloropalladium (II)(0.029 g, 0.039 mmol), and 1,4-dioxane (3.48 ml). The mixture was purgedwith nitrogen, sealed, and heated to 90° C. whilst stirring for 2 h. Themixture was cooled, diluted with EtOAc and filtered through Celite®. Thefiltrate was concentrated and purified using silica gel chromatography(20% MeOH/DCM) to provide the desired compound as an orange solid. LC-MScalculated for C₃₆H₃₆N₇O₂ (M+H)⁺: m/z=598.3; found 598.4.

Step 5:(R)-8-((3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde

To a solution of(R)-1-((8-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.0715 g, 0.12 mmol) in DCM (1.20 ml) was added manganese dioxide(0.208 g, 2.392 mmol). The resulting mixture was heated at 45° C. for 30min. After cooling, the mixture was filtered through Celite® and thefiltrate was concentrated. The crude orange solid was used directly inthe next step. LC-MS calculated for C₃₆H₃₄N₇O₂ (M+H)⁺: m/z=596.3; found596.5.

Step 6:(R)-1-((8-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a vial was added(R)-8-((3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde(0.013 g, 0.022 mmol), (R)-pyrrolidine-3-carboxylic acid (Combi-Blocks,#ST-7698: 7.5 mg, 0.065 mmol), 1,2-dichloroethane (0.336 ml) andtriethylamine (9.13 μl, 0.065 mmol). The reaction was stirred at rt for2 h, then sodium triacetoxyborohydride (0.023 g, 0.109 mmol) and aceticacid (3.75 μl, 0.065 mmol) were added. The reaction was stirred for 2 h,then the mixture was diluted with methanol and purified by prep HPLC(pH=2, acetonitrile/water+TFA) to give the desired product as the TFAsalt. LC-MS calculated for C₄₁H₄₃N₈O₃ (M+H)⁺: m/z=695.3; found 695.3. ¹HNMR (500 MHz, DMSO) δ 10.72 (br s, 2H), 9.11 (m, 2H), 8.54 (m, 2H), 8.02(m, 4H), 7.42 (m, 2H), 7.26 (m, 2H), 7.11 (m, 2H), 4.70 (m, 4H), 4.47(m, 1H), 3.82-3.08 (m, 10H), 2.38-2.18 (m, 2H), 2.10 (s, 6H), 2.05-1.82(n, 2H).

Example 10(S)-1-((8-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 9 with (S)-pyrrolidine-3-carboxylic acid (Combi-Blocks,#ST-1381) replacing (R)-pyrrolidine-3-carboxylic acid in Step 6. Thereaction was diluted with MeOH and then purified by prep-HPLC (pH=2,acetonitrile/water+TFA) to give the desired product as the TFA salt.LC-MS calculated for C₄₁H₄₃N₈O₃ (M+H)⁺: m/z=695.3; found 695.3.

Example 11(R)-1-((8-((3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 9 with ethanolamine (Aldrich, #411000) replacing(R)-3-hydroxypyrrolidine in Step 2. The reaction mixture was dilutedwith MeOH and then purified by prep-HPLC (pH=6.5,acetonitrile/water+NH₄OAc) to give the desired product. LC-MS calculatedfor C₃₉H₄₁N₈O₃ (M+H)⁺: m/z=669.3; found 669.4.

Example 12(R)-1-((8-((3′-((3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 9 with (S)-3-hydroxypyrrolidine (Combi-Blocks, #SS-7948)replacing (R)-3-hydroxypyrrolidine in Step 2. The reaction was dilutedwith MeOH and then purified by prep-HPLC (pH=2, acetonitrile/water+TFA)to give the desired product as the TFA salt. LC-MS calculated forC₄₁H₄₃N₈O₃ (M+H)⁺: m/z=695.3; found 695.4.

Example 13(S)-1-((8-((3′-((3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 9 with (S)-3-hydroxypyrrolidine replacing(R)-3-hydroxypyrrolidine in Step 2 and (S)-pyrrolidine-3-carboxylic acidreplacing (R)-pyrrolidine-3-carboxylic acid in Step 6. The reactionmixture was diluted with MeOH and then purified by prep-HPLC (pH=2,acetonitrile/water+TFA) to give the desired product as the TFA salt.LC-MS calculated for C₄₁H₄₃N₈O₃ (M+H)⁺: m/z=695.3; found 695.3.

Example 141-((8-(2-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

Step 1: tert-butyl1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A solution of 1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine(Accela, cat#SY032476: 2.0 g, 14.58 mmol) and (Boc)₂O (3.38 mL, 14.58mmol) in dichloromethane (60.0 mL) was stirred at room temperature for 1h. The reaction was quenched with saturated aqueous NaHCO₃ solution, andextracted with ethyl acetate. The combined organic layers were washedwith brine, dried over Na₂SO₄, filtered, and concentrated under reducedpressure. The crude product was used for next step without furtherpurification. LC-MS calculated for C₁₂H₂₀N₃O₂ (M+H)⁺: m/z=238.2; found238.2.

Step 2: 5-tert-butyl 2-methyl1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-2,5(4H)-dicarboxylate

To a solution of tert-butyl1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate (Crudeproduct from Step 1) in tetrahydrofuran (60.0 mL) was addedn-Butyllithium in hexanes (2.5 M, 7.00 mL, 17.49 mmol) at −78° C.,dropwise. The reaction mixture was stirred at −78° C. for 10 min priorto the addition of methyl chloroformate (1.7 mL, 21.9 mmol). After beingstirred at −78° C. for 15 min, the reaction was then quenched withsaturated aqueous NaHCO₃ solution, and extracted with ethyl acetate,dried over Na₂SO₄, filtered, and concentrated under reduced pressure.The residue was purified by flash chromatography on a silica gel columneluting with 80% ethyl acetate in hexanes to afford the desired product( ). LC-MS calculated for C₁₄H₂₂N₃O₄ (M+H)⁺: m/z=296.2; found 296.3.

Step 3: tert-butyl1-methyl-2-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)carbamoyl)-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate

Potassium tert-butoxide (0.122 ml, 0.122 mmol) was added to a solutionof 5-tert-butyl 2-methyl1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-2,5-dicarboxylate(30 mg, 0.102 mmol) and2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline(Combi-Blocks, cat#PN-9127: 23.68 mg, 0.102 mmol) in THF (0.2 ml). Afterbeing stirred at rt for 2 h, the reaction mixture was quenched withwater, and extracted with ethyl acetate. The combined organic layerswere washed with brine, dried over Na₂SO₄, filtered and concentratedunder reduced pressure. The residue was purified by flash chromatographyon a silica gel column with ethyl acetate in hexanes (0-40%) to affordthe product. LC-MS calculated for C₂₆H₃₈BN₄O₅ (M+H)⁺: m/z=497.3; found497.2.

Step 4: 8-chloro-3-vinyl-1,7-naphthyridine

A mixture of 3-bromo-8-chloro-1,7-naphthyridine (PharmaBlock,cat#PBLJ2743: 0.200 g, 0.821 mmol),4,4,5,5-tetramethyl-2-vinyl-1,3,2-dioxaborolane (Aldrich, cat#663348:153 μL, 0.904 mmol), sodium carbonate (0.174 g, 1.64 mmol) and[1,1′-bis(di-cyclohexylphosphino)ferrocene]dichloropalladium(II)(Aldrich, cat#701998: 6.2 mg, 0.0082 mmol) in tert-butyl alcohol (5.91mL, 61.8 mmol) and water (6 mL, 300 mmol) was degassed and sealed. Itwas stirred at 110° C. for 2 h. The reaction mixture was cooled thenextracted with ethyl acetate (3×20 mL). The combined organic layers werewashed with brine, dried over MgSO₄, filtered and concentrated underreduced pressure. The crude residue was used directly in the next stepwithout further purification. LC-MS calculated for C₁₀H₈ClN₂ (M+H)⁺:m/z=191.0; found 191.0.

Step 5: N-(3-bromo-2-chlorophenyl)-3-vinyl-1,7-naphthyridin-8-amine

In a vial, 3-bromo-2-chloroaniline (Enamine, cat# EN300-105778: 0.476 g,2.304 mmol) and 8-chloro-3-vinyl-1,7-naphthyridine (0.366 g, 1.920 mmol)were suspended in isopropanol (9.60 ml). Sulfuric acid (0.102 ml, 1.920mmol) was added to the reaction mixture. The resulting mixture washeated to 100° C. for 1 h. The mixture was cooled to rt then quenchedwith aqueous saturated sodium bicarbonate, and diluted with DCM. Thelayers were separated and the water layer was further extracted withDCM. The combined organic layers were dried over magnesium sulfate,filtered and concentrated in vacuo. The crude solid was purified bycolumn chromatography (0→2% methanol/DCM). LC-MS calculated forC₁₆H₁₂BrClN₃ (M+H)⁺: m/z=360.0; found 360.0.

Step 6:8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde

A flask was charged withN-(3-bromo-2-chlorophenyl)-3-vinyl-1,7-naphthyridin-8-amine (0.586 g,1.625 mmol), 1,4-dioxane (40 mL) and water (40 mL). A 4% osmiumtetroxide solution in water (0.207 ml, 0.032 mmol) was added to thereaction mixture. After 5 min, sodium periodate (1.390 g, 6.50 mmol) wasadded. The mixture was stirred overnight at rt. The reaction was dilutedwith water and ethyl acetate. The layers were separated and the aqueouslayer was further extracted with EtOAc. The combined organic extractswere washed with brine, dried over sodium sulfate, filtered, andconcentrated in vacuo. The crude product was purified by silica gelchromatography (0→60% EtOAc/hexanes). LC-MS calculated for C₁₅H₁₀BrClN₃O(M+H)⁺: m/z=362.0; found 362.0.

Step 7: methyl1-((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate

A mixture of8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde(0.272 g, 0.750 mmol) and methyl azetidine-3-carboxylate, HCl(Combi-Blocks, cat#SS-3302:125 mg, 0.825 mmol) in methylene chloride(3.75 ml) and N,N-diisopropylethylamine (0.392 ml, 2.250 mmol) wasstirred at rt for 1 h. Sodium triacetoxyborohydride (0.477 g, 2.250mmol) was added in portions. The reaction was stirred at rt for 2 h,then sodium tetrahydroborate (0.060 ml, 1.500 mmol) and methanol (6 mL)were added carefully. After stirring overnight, the reaction wasquenched with a saturated solution of sodium bicarbonate. The mixturewas then extracted with a 3:1 mixture of chloroform/isopropanol. Thecombined organic layers were washed with brine, dried over sodiumsulfate, and concentrated under reduced pressure. The crude residue waspurified by column chromatography (methanol/DCM). LC-MS calculated forC₂₀H₁₉BrClN₄O₂ (M+H)⁺: m/z=461.0; found 461.1.

Step 8: tert-butyl2-((2′-chloro-3′-((3-((3-(methoxycarbonyl)azetidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate

To a vial was added tert-butyl1-methyl-2-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)carbamoyl)-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Step 3: 0.037 g, 0.074 mmol), methyl1-((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate(0.034 g, 0.074 mmol), sodium carbonate (8.58 mg, 0.081 mmol),(1,1′-bis(diphenylphosphino)ferrocene)-dichloropalladium(II) (5.39 mg,7.36 μmol), 1,4-dioxane (0.650 ml), and water (0.087 ml). The mixturewas degassed, sealed, and heated to 90° C. whilst stirring for 18 h. Themixture was cooled, diluted with water and methylene chloride, and thelayers were separated. The aqueous layer was further extracted withmethylene chloride and the combined organic layers were dried overMgSO₄, filtered, and concentrated in vacuo. The crude residue waspurified by silica gel chromatography (15% MeOH/DCM) to provide thedesired product. LC-MS calculated for C₄₀H₄₄ClN₈O₅ (M+H)⁺: m/z=751.3;found 751.3.

Step 9: methyl1-((8-(2-chloro-2′-methyl-3′-(1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate

To a vial was added tert-butyl2-((2′-chloro-3′-((3-((3-(methoxycarbonyl)azetidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.041 g, 0.055 mmol), DCM (0.6 mL), and TFA (0.084 mL, 1.091 mmol). Thereaction was stirred at rt for 1 h. The mixture was concentrated underreduced pressure, and the resulting residue was redissolved in DCM andwashed with a saturated aqueous solution of sodium bicarbonate. Thelayers were separated, and the organic layer was dried over MgSO₄,filtered, and concentrated under reduced pressure. The crude residue wasthen used directly in the next step without further purification. LC-MScalculated for C₃₅H₃₆ClN₈O₃ (M+H)⁺: m/z=651.3; found 651.4.

Step 10: methyl1-((8-(2-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate

A mixture of methyl1-((8-((2-chloro-2′-methyl-3′-(1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate(0.032 g, 0.049 mmol) and 12.3 M formaldehyde in water (7.99 μl, 0.098mmol) in methylene chloride (0.430 ml) and methanol (0.061 ml) wasstirred at rt for 30 min after which time, acetic acid (0.017 ml, 0.295mmol) and sodium triacetoxyborohydride (0.052 g, 0.246 mmol) were added.The mixture was stirred at rt for 45 min and the reaction was quenchedwith a saturated aqueous sodium bicarbonate solution. The mixture wasextracted with a 3:1 mixture of chloroform/isopropanol, and the combinedorganic layers were dried over sodium sulfate, filtered, andconcentrated under reduced pressure. The crude product was purified bycolumn chromatography (0→30% methanol/DCM). LC-MS calculated forC₃₆H₃₈ClN₈O₃ (M+H)⁺: m/z=665.3; found 665.4.

Step 11:1-((8-(2-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

To a solution of methyl1-((8-((2-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate(27 mg, 0.041 mmol) in THF (203 μl) was added lithium hydroxide (3.89mg, 0.162 mmol) in water (203 μl). The mixture was stirred at rt for 30min. The mixture was diluted with methanol and purified by prep HPLC(pH=2, acetonitrile/water+TFA) to provide the compound as its TFA salt.LC-MS calculated for C₃₅H₃₆ClN₈O₃ (M+H)⁺: m/z=651.3; found 651.3.

Example 15(R)-1-((5-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6-oxo-1,6-dihydropyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1: 2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline

In a vial was combined:4,4,5,5,4′,4′,5′,5′-Octamethyl-[2,2′]bi[[1,3,2]dioxaborolanyl](6.15 g,24.22 mmol), potassium acetate (2.85 g, 29.1 mmol),3-bromo-2-chloroaniline (Enamine, cat# EN300-105778: 2.00 g, 9.69 mmol),1,4-dioxane (48.4 ml) and[1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium (II) (0.354 g,0.484 mmol). The vial was flushed with nitrogen and was stirred at 110°C. for 2 h. The mixture was cooled, and filtered through Celite®, andconcentrated under reduced pressure. The crude residue was purified bysilica gel chromatography (EtOAc/hexanes) to provide the desiredcompound as a white solid. LC-MS calculated for C₁₂H₁₈BClNO₂ (M+H)⁺:m/z=254.1; found 254.1.

Step 2:8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde

A suspension of(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol(Affinity Research Chemicals, #ARI-0169: 300.0 mg, 0.872 mmol) andmanganese dioxide (1515 mg, 17.43 mmol) in DCM (8716 μl) was stirred at45° C. for 1 h. The reaction was filtered through Celite® and thefiltrate was concentrated to yield a crude residue, which was useddirectly in the next step without further purification. LC-MS calculatedfor C₁₆H₁₃BrN₃O (M+H)⁺: m/z=342.0; found 342.0.

Step 3:(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

A mixture of8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde(0.100 g, 0.292 mmol) and (R)-3-hydroxypyrrolidine (Combi-Blocks,#AM-2005: 0.025 g, 0.292 mmol) in 1,2-dichloroethane (1.46 ml) andN,N-diisopropylethylamine (0.051 ml, 0.292 mmol) was stirred at rt for 1h. Sodium triacetoxyborohydride (0.093 g, 0.438 mmol) was added inportions. The reaction was stirred at rt for 2 h, then quenched with asaturated aqueous solution of sodium bicarbonate. The mixture was thenextracted with a 3:1 mixture of chloroform/isopropanol. The combinedorganic layers were dried over sodium sulfate, and concentrated invacuo. The crude residue was purified by silica gel chromatography(0→30% methanol/DCM) to give the desired product. LC-MS calculated forC₂₀H₂₂BrN₄O (M+H)⁺: m/z=413.1; found 413.1.

Step 4:(R)-1-((8-(3′-amino-2′-chloro-2-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was added2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline (Step 1:0.101 g, 0.399 mmol),(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.165 g, 0.399 mmol), sodium carbonate (0.047 g, 0.439 mmol),(1,1′-bis(diphenylphosphino)ferrocene)-dichloropalladium(II) (0.029 g,0.040 mmol), 1,4-dioxane (3.52 ml), and water (0.470 ml). The mixturewas degassed, sealed, and heated to 90° C. whilst stirring for 18 h. Themixture was cooled, diluted with water and methylene chloride, and thelayers were separated. The aqueous layer was further extracted withmethylene chloride, and the combined organic layers were dried overMgSO₄, filtered, and concentrated in vacuo. The crude residue waspurified by silica gel chromatography (15% MeOH/DCM) to provide thedesired product. LC-MS calculated for C₂₆H₂₇ClN₅O (M+H)⁺: m/z=460.2;found 460.3.

Step 5: methyl 5-bromo-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxylate

Methyl iodide (1.713 ml, 27.5 mmol) was added to a mixture of5-bromo-2-hydroxynicotinic acid (Combi-Blocks, cat# CA-4087: 2.0 g, 9.17mmol), and potassium carbonate (1.811 ml, 20.18 mmol) in methanol (45.9mL), which was stirred at 70° C. overnight. The solvent was removed, andthe crude mixture was extracted with DCM/water. The organic extractswere dried over MgSO₄, filtered, and concentrated under reducedpressure. The crude product was used directly in the next step withoutfurther purification. LC-MS calculated for C₈H₉BrNO₃ (M+H)⁺: m/z=246.0;found 246.0.

Step 6: 1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxylic acid

A mixture of methyl5-bromo-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxylate (745 mg, 3.03mmol), 4,4,5,5-tetramethyl-2-vinyl-1,3,2-dioxaborolane (565 μl, 3.33mmol), tetrakis(triphenylphosphine)palladium(O) (175.0 mg, 0.151 mmol),2.0 M sodium carbonate in water (4543 μl, 9.09 mmol) and 1,4-dioxane(6058 μl) was sparged with nitrogen and then heated at 100° C. for 30min. The mixture was partitioned between EtOAc and water and the layersseparated. The organic layer was washed with brine, dried over MgSO₄,filtered and concentrated under reduced pressure. The crude residue wasused directly in the next step without further purification. LC-MScalculated for C₉H₁₀NO₃ (M+H)⁺: m/z=180.1; found 180.1.

Step 7:(R)—N-(2-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-yl)-1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxamide

A mixture of 1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxylicacid (0.0550 g, 0.307 mmol),(R)-1-((8-((3′-amino-2′-chloro-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Step 4: 0.141 g, 0.307 mmol),N-[(dimethylamino)-1H-1,2,3-triazolo-[4,5-b]pyridin-1-ylmethylene]-N-methylmethanaminiumhexafluorophosphate N-oxide (0.140 g, 0.368 mmol), andN,N-diisopropylethylamine (0.107 ml, 0.614 mmol) in 1,2-dichloroethane(4.39 ml) was stirred at rt for 2 h. The mixture was concentrated underreduced pressure. The residue was diluted with ethyl acetate, and washedwith water followed by brine. The organic layer was dried over MgSO₄,filtered and concentrated under reduced pressure. The crude residue waspurified by silica gel chromatography (MeOH/DCM) to provide the desiredcompound. LC-MS calculated for C₃₅H₃₄ClN₆O₃ (M+H)⁺: m/z=621.2; found621.4.

Step 8:(R)—N-(2-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-yl)-5-formyl-1-methyl-2-oxo-,2-dihydropyridine-3-carboxamide

A flask was charged with(R)—N-(2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxamide(0.131 g, 0.211 mmol), 1,4-dioxane (40 mL) and water (40 mL). A 4%osmium tetroxide solution in water (0.094 ml, 0.015 mmol) was added tothe reaction mixture. After 5 min, sodium periodate (0.361 g, 1.687mmol) was added. The mixture was stirred overnight at rt. The mixturewas diluted with water (2 mL) and 3:1 chloroform/isopropanol (5 mL), andthe layers were separated. The organic extract was dried over sodiumsulfate, filtered, and concentrated in vacuo. The crude aldehyde waspurified by silica gel chromatography (20% MeOH/DCM). LC-MS calculatedfor C₃₄H₃₂ClN₆O₄ (M+H)⁺: m/z=623.2; found 623.4.

Step 9:(R)-1-((5-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6-oxo-1,6-dihydropyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a vial was added(R)—N-(2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-formyl-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamide(0.022 g, 0.035 mmol), (R)-pyrrolidine-3-carboxylic acid (Combi-Blocks,cat#ST-7698: 0.012 g, 0.106 mmol), dichloromethane (0.579 ml) andtriethylamine (0.016 ml, 0.115 mmol). The reaction was stirred at rt for2 h, then sodium triacetoxyborohydride (0.037 g, 0.177 mmol) and aceticacid (6.06 μl, 0.106 mmol) were added. The reaction was stirred for 2 h,then the mixture was diluted with methanol and purified by prep HPLC(pH=2, acetonitrile/water+TFA) to provide the desired compound as itsTFA salt. LC-MS calculated for C₃₉H₄₁ClN₇O₅ (M+H)⁺: m/z=722.3; found722.2.

Example 16(R)-1-((8-(2,2′-dichloro-3′-(5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

Step 1: methyl1-((8-(3′-amino-2,2′-dichlorobiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate

To a vial was added2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline (Example15, Step 1: 0.137 g, 0.539 mmol), methyl1-((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate(Example 14, Step 7: 0.166 g, 0.360 mmol), sodium carbonate (0.057 g,0.539 mmol),(1,1′-bis(diphenylphosphino)ferrocene)-dichloropalladium(II) (0.026 g,0.036 mmol), 1,4-dioxane (3.17 ml), and water (0.423 ml). The mixturewas degassed, sealed, and heated to 90° C. whilst stirring for 1 h. Themixture was cooled, diluted with water and 3:1 chloroform/isopropanol,and the layers were separated. The aqueous layer was further extractedwith 3:1 chloroform/isopropanol, and the combined organic extracts weredried over MgSO₄, filtered, and concentrated in vacuo. The desiredcompound was purified by silica gel chromatography (20% MeOH/DCM). LC-MScalculated for C₂₆H₂₄Cl₂N₅O₂ (M+H)⁺: m/z=508.1; found 508.2.

Step 2: methyl1-((8-(2,2′-dichloro-3′-(1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate

In a vial, 1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxylic acid(Example 15, Step 6: 0.051 g, 0.285 mmol) HATU (0.130 g, 0.342 mmol) andN,N-diisopropylethylamine (0.099 ml, 0.569 mmol) were dissolved in DMF(2.85 ml). After stirring for 5 min, methyl1-((8-(3′-amino-2,2′-dichlorobiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate(0.285 mmol) was added, and the resulting mixture was stirred at 40° C.for 24 h. Excess DMF was concentrated, and the resulting oil was dilutedwith EtOAc and water. The layers were separated and the water layer wasfurther extracted with ethyl acetate. The combined organic layers werewashed with brine, dried over magnesium sulfate, filtered andconcentrated in vacuo. After concentrating, the crude residue wastriturated with DCM and filtered to provide the desired product. Thefiltrate was purified by silica gel chromatography (20% MeOH/DCM) toprovide additional desired product. LC-MS calculated for C₃₅H₃₁Cl₂N₆O₄(M+H)⁺: m/z=669.2; found 669.1.

Step 3: methyl1-((8-(2,2′-dichloro-3′-(5-formyl-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate

This compound was prepared using similar procedures as described forExample 14 with methyl1-((8-(2,2′-dichloro-3′-(1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylatereplacing N-(3-bromo-2-chlorophenyl)-3-vinyl-1,7-naphthyridin-8-amine inStep 6. The crude product was purified by silica gel chromatography (20%MeOH/DCM) to provide the desired product. LC-MS calculated forC₃₄H₂₉Cl₂N₆O₅ (M+H)⁺: m/z=671.2; found 671.4.

Step 4: (R)-methyl1-((8-(2,2′-dichloro-3′-(5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate

This compound was prepared using similar procedures as described forExample 15 with methyl1-((8-(2,2′-dichloro-3′-(5-formyl-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylatereplacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde inStep 3. The crude product was purified by silica gel chromatography(MeOH/DCM) to provide the desired product. LC-MS calculated forC₃₈H₃₈Cl₂N₇O₅ (M+H)⁺: m/z=742.2; found 742.4.

Step 5:(R)-1-((8-(2,2′-dichloro-3′-(5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 14 with (R)-methyl1-((8-(2,2′-dichloro-3′-(5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylatereplacing methyl1-((8-((2-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylatein Step 11. The reaction mixture was diluted with methanol and purifiedby prep HPLC (pH=2, acetonitrile/water+TFA) to provide the desiredcompound as its TFA salt. LC-MS calculated for C₃₇H₃₆Cl₂N₇O₅ (M+H)⁺:m/z=728.2; found 728.1.

Example 171-((8-(2,2′-dichloro-3′-(5-((2-hydroxyethylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

Step 1: methyl1-((8-(2,2′-dichloro-3′-(5-((2-hydroxyethylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate

A mixture of methyl1-((8-((2,2′-dichloro-3′-(5-formyl-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate(Example 16, Step 3: 0.020 g, 0.030 mmol) and ethanolamine (Aldrich,cat#411000: 0.089 mmol) in methylene chloride (0.596 ml) andN,N-diisopropylethylamine (0.026 ml, 0.149 mmol) was stirred at rt for 1h. Sodium triacetoxyborohydride (0.019 g, 0.089 mmol) was carefullyadded. The reaction was stirred at rt for 2 h and sodiumtetrahydroborate (2.384 μl, 0.060 mmol) and methanol (6 mL) werecarefully added. The mixture was stirred overnight, and the reaction wasquenched with a saturated solution of sodium bicarbonate. The mixturewas then extracted with a 3:1 mixture of chloroform/isopropanol. Thecombined organic layers were washed with brine, dried over sodiumsulfate, and then concentrated in vacuo. The crude residue was purifiedby column chromatography (0→50% methanol/DCM). LC-MS calculated forC₃₆H₃₆Cl₂N₇O₅ (M+H)⁺: m/z=716.2; found 716.3.

Step 2:1-((8-(2,2′-dichloro-3′-(5-((2-hydroxyethylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 14 with methyl1-((8-(2,2′-dichloro-3′-(5-((2-hydroxyethylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylatereplacing methyl1-((8-((2-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylatein Step 11. The reaction mixture was diluted with methanol and purifiedby prep HPLC (pH=2, acetonitrile/water+TFA) to provide the desiredcompound as its TFA salt. LC-MS calculated for C₃₅H₃₄Cl₂N₇O₅ (M+H)⁺:m/z=702.2; found 702.2.

Example 181-((8-(2,2′-dichloro-3′-(5-((2-hydroxy-2-methylpropylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

Step 1: methyl1l-((8-(2,2′-dichloro-3′-(5-((2-hydroxy-2-methylpropylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylate

This compound was prepared using similar procedures as described forExample 17 with 1-amino-2-methyl-2-propanol (Aldrich, cat#777625)replacing ethanolamine in Step 1.

The crude residue was purified by column chromatography (0→50%methanol/DCM). LC-MS calculated for C₃₈H₄₀Cl₂N₇O₅ (M+H)⁺: m/z=744.2;found 744.4.

Step 2:1-((8-(2,2′-dichloro-3′-(5-((2-hydroxy-2-methylpropylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 14 with methyl1-((8-(2,2′-dichloro-3′-(5-((2-hydroxy-2-methylpropylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylatereplacing methyl1-((8-((2-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylatein Step 11. The reaction mixture was diluted with methanol and purifiedby prep HPLC (pH=2, acetonitrile/water+TFA) to provide the desiredcompound as its TFA salt. LC-MS calculated for C₃₇H₃₈Cl₂N₇O₅ (M+H)⁺:m/z=730.2; found 730.2.

Example 192,2′-(((((2,2′-dimethyl-[1,1′-biphenyl]-3,3′-diyl)bis(azanediyl))bis(1,7-naphthyridine-8,3-diyl))bis(methylene))bis(azanediyl))bis(ethan-1-ol)

Step 1:2-((8-(3-bromo-2-methylphenylamino)-1,7-naphthyridin-3-yl)amino)ethanol

A mixture of8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 15, Step 2: 0.100 g, 0.292 mmol) and ethanolamine (Aldrich,cat#411000: 0.292 mmol) in 1,2-dichloroethane (1.46 ml) andN,N-diisopropylethylamine (0.051 ml, 0.292 mmol) was stirred at rt for 1h. Sodium triacetoxyborohydride (0.093 g, 0.438 mmol) was carefullyadded in portions. The reaction was stirred at rt for 2 h, then methanol(1 mL) and sodium borohydride (0.584 mmol) were added. The reaction wasquenched with a saturated aqueous solution of sodium bicarbonate. Themixture was then extracted with a 3:1 mixture of chloroform/isopropanol.The combined organic layers were dried over sodium sulfate, thenconcentrated in vacuo. The crude residue was purified by silica gelchromatography (0→50% methanol/DCM) to give the desired product. LC-MScalculated for C₁₈H₂₀BrN₄O (M+H)⁺: m/z=387.1; found 387.2.

Step 2:(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol

A mixture of(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol(Affinity Research Chemicals, cat#ARI-0169: 0.300 g, 0.872 mmol),bis(pinacolato)diboron (Aldrich, #473294: 0.266 g, 1.046 mmol),dichloro[1,1′-bis(diphenylphosphino)ferrocene]palladium (II)dichloromethane adduct (0.071 g, 0.087 mmol) and potassium acetate(0.214 g, 2.179 mmol) was charged with nitrogen and stirred at 110° C.for 2 h. The crude was diluted with DCM, and then filtered throughCelite®. The filtrate was concentrated, and the resulting residue wasused directly in the next step without further purification. LC-MScalculated for C₂₂H₂₇BN₃O₃ (M+H)⁺: m/z=392.2; found 392.3.

Step 3:2-((8-(3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)amino)ethanol

To a vial was added(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol(0.064 g, 0.165 mmol),2-((8-(3-bromo-2-methylphenylamino)-1,7-naphthyridin-3-yl)methylamino)ethanol(Step 1: 0.058 g, 0.150 mmol), 1 M aqueous sodium carbonate (0.300mmol), (1,1′-bis(di-cyclohexylphosphino)ferrocene)-dichloropalladium(II)(10.96 mg, 0.015 mmol), and 1,4-dioxane (1.321 ml). The mixture wasdegassed, sealed, and heated to 90° C. whilst stirring for 4 h. Themixture was cooled, diluted with EtOAc and filtered through Celite®. Thefiltrate was concentrated and the crude residue was purified usingsilica gel chromatography (MeOH/DCM). LC-MS calculated for C₃₄H₃₄N₇O₂(M+H)⁺: m/z=572.3; found 572.4.

Step 4:8-(3′-(3-((2-hydroxyethylamino)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridine-3-carbaldehyde

This compound was prepared using similar procedures as described forExample 9 with2-((8-(3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)amino)ethanolreplacing(R)-1-((8-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-olin Step 5. LC-MS calculated for C₃₄H₃₂N₇O₂ (M+H)⁺: m/z=570.3; found570.4.

Step 5:2,2′-(((((2,2′-dimethyl-[1,1′-biphenyl]-3,3′-diyl)bis(azanediyl))bis(1,7-naphthyridine-8,3-diyl))bis(methylene))bis(azanediyl))bis(ethan-1-ol)

To a vial was added8-(3′-(3-((2-hydroxyethylamino)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridine-3-carbaldehyde(0.034 g, 0.065 mmol), ethanolamine (Aldrich, cat#411000: 0.024 mL,0.194 mmol), dichloromethane (0.997 ml) and N,N-diisopropylethylamine(0.027 ml, 0.194 mmol). The reaction was stirred at rt for 2 h, thensodium triacetoxyborohydride (0.041 g, 0.194 mmol) and acetic acid(0.011 ml, 0.194 mmol) were added. After 2 h, sodium borohydride (0.130mmol) and methanol (0.350 mL) were carefully added. The mixture wasstirred overnight, then the mixture was diluted with methanol andpurified by prep HPLC (pH=2, acetonitrile/water+TFA) to provide thedesired compound as its TFA salt. LC-MS calculated for C₃₆H₃₉N₈O₂(M+H)⁺: m/z=615.3; found 615.3.

Example 20(3R,3′R)-1,1′-((((2,2′-dimethyl-[1,1′-biphenyl]-3,3′-diyl)bis(azanediyl))bis(1,7-naphthyridine-8,3-diyl))bis(methylene))bis(pyrrolidin-3-ol)

Step 1:8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde

A suspension of(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol(Affinity Research Chemicals, cat#ARI-0169: 300.0 mg, 0.872 mmol) andmanganese dioxide (1515 mg, 17.43 mmol) in DCM (8716 μl) was stirred at45° C. for 1 h. The reaction was filtered through Celite® and thefiltrate was concentrated to yield a crude residue, which was useddirectly in the next step without further purification. LC-MS calculatedfor C₁₆H₁₃BrN₃O (M+H)⁺: m/z=342.0; found 342.0.

Step 2:(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

A mixture of8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde(0.100 g, 0.292 mmol) and (R)-3-hydroxypyrrolidine (Combi-Blocks,cat#AM-2005: 0.025 g, 0.292 mmol) in 1,2-dichloroethane (1.46 ml) andN,N-diisopropylethylamine (0.051 ml, 0.292 mmol) was stirred at rt for 1h. Sodium triacetoxyborohydride (0.093 g, 0.438 mmol) was carefullyadded in portions. The reaction was stirred at rt for 2 h, then quenchedwith a saturated aqueous solution of sodium bicarbonate. The mixture wasthen extracted with a 3:1 mixture of chloroform/isopropanol. Thecombined organic layers were dried over sodium sulfate, thenconcentrated in vacuo. The crude residue was purified by silica gelchromatography (0→30% methanol/DCM) to give the desired product. LC-MScalculated for C₂₀H22BrN₄O (M+H)⁺: m/z=413.1; found 413.1.

Step 3:(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol

A mixture of(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol(Affinity Research Chemicals, cat#ARI-0169: 0.300 g, 0.872 mmol),bis(pinacolato)diboron (Aldrich, cat#473294: 0.266 g, 1.046 mmol),dichloro[1,1′-bis(diphenylphosphino)ferrocene]palladium (II)dichloromethane adduct (0.071 g, 0.087 mmol) and potassium acetate(0.214 g, 2.179 mmol) was charged with nitrogen and stirred at 110° C.for 2 h. The crude was diluted with DCM, and then filtered throughCelite®. The filtrate was concentrated, and the resulting residue wasused directly in the next step without further purification. LC-MScalculated for C₂₂H₂₇BN₃O₃ (M+H)⁺: m/z=392.2; found 392.3.

Step 4:(R)-1-((8-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was added(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol(0.162 g, 0.414 mmol),(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.163 g, 0.394 mmol), 1 M aqueous sodium carbonate (0.789 mmol),[1,1′-bis(di-cyclohexylphosphino)ferrocene]-dichloropalladium (II)(0.029 g, 0.039 mmol), and 1,4-dioxane (3.48 ml). The mixture was purgedwith nitrogen, sealed, and heated to 90° C. whilst stirring for 2 h. Themixture was cooled, diluted with EtOAc and filtered through Celite®. Thefiltrate was concentrated and purified using silica gel chromatography(20% MeOH/DCM) to provide the desired compound as an orange solid. LC-MScalculated for C₃₆H₃₆N₇O₂ (M+H)⁺: m/z=598.3; found 598.4.

Step 5:(R)-8-((3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde

To a solution of(R)-1-((8-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.0715 g, 0.12 mmol) in DCM (1.20 ml) was added manganese dioxide(0.208 g, 2.392 mmol). The resulting mixture was heated at 45° C. for 30min. After cooling, the mixture was filtered through Celite® and thefiltrate was concentrated. The crude orange solid was used directly inthe next step. LC-MS calculated for C₃₆H₃₄N₇O₂ (M+H)⁺: m/z=596.3; found596.5.

Step 6:(3R,3′R)-1,1′-((((2,2′-dimethyl-[1,1′-biphenyl]-3,3′-diyl)bis(azanediyl))bis(1,7-naphthyridine-8,3-diyl))bis(methylene))bis(pyrrolidin-3-ol)

To a vial was added(R)-8-((3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde(0.0085 g, 0.014 mmol), (R)-pyrrolidin-3-ol (Combi-Blocks, cat#AM-2005:4 mg, 0.043 mmol), dichloromethane (0.357 ml) and triethylamine (5.97μl, 0.043 mmol). The reaction was stirred at rt for 2 h, then sodiumtriacetoxyborohydride (0.015 g, 0.071 mmol) and acetic acid (2.451 μl,0.043 mmol) were added. The reaction was stirred for 2 h, then themixture was diluted with methanol and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₄₀H₄₃N₈O₂ (M+H)⁺: m/z=667.3; found 667.3. ¹H NMR(600 MHz, DMSO) δ 10.68 (s, 2H), 9.09 (s, 2H), 8.53 (s, 2H), 7.96 (m,4H), 7.41 (s, 2H), 7.24 (s, 2H), 7.10 (s, 2H), 5.62 (br s, 2H), 4.70 (m,4H), 4.46 (m, 2H), 3.70-3.10 (ovrlp m, 8H), 2.31 (s, 2H), 2.07 (s, 6H),1.93 (m, 2H).

Example 21(R)-1-((8-(3′-(3-((2-hydroxyethylamino)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 20 with ethanolamine (Aldrich, cat#411000) replacing(R)-pyrrolidin-3-ol in Step 6. The reaction mixture was diluted withmethanol and purified by prep HPLC (pH=2, acetonitrile/water+TFA) toprovide the desired compound as its TFA salt. LC-MS calculated forC₃₈H₄₁N₈O₂ (M+H)⁺: m/z=641.3; found 641.3.

Example 22(3R,3′R)-1,1′-((((2,2′-dichloro-[1,1′-biphenyl]-3,3′-diyl)bis(azanediyl))bis(1,7-naphthyridine-8,3-diyl))bis(methylene))bis(pyrrolidin-3-ol)

Step 1: 8-chloro-3-vinyl-1,7-naphthyridine

A mixture of 3-bromo-8-chloro-1,7-naphthyridine (PharmaBlock,cat#PBLJ2743: 0.200 g, 0.821 mmol),4,4,5,5-tetramethyl-2-vinyl-1,3,2-dioxaborolane (Aldrich, cat#663348:153 μL, 0.904 mmol), sodium carbonate (0.174 g, 1.64 mmol) and[1,1′-bis(di-cyclohexylphosphino)ferrocene]dichloropalladium(II)(Aldrich, cat#701998: 6.2 mg, 0.0082 mmol) in tert-butyl alcohol (5.91mL, 61.8 mmol) and water (6 mL, 300 mmol) was degassed and sealed. Itwas stirred at 110° C. for 2 h. The reaction mixture was cooled thenextracted with ethyl acetate (3×20 mL). The combined organic layers werewashed with brine, dried over MgSO₄, filtered and concentrated underreduced pressure. The crude residue was used directly in the next stepwithout further purification. LC-MS calculated for C₁₀HsClN₂ (M+H)⁺:m/z=191.0; found 191.0.

Step 2: 8-chloro-1,7-naphthyridine-3-carbaldehyde

A flask was charged with 8-chloro-3-vinyl-1,7-naphthyridine (391. mg,2.05 mmol), 1,4-dioxane (40. mL), a stir bar and water (40. mL). To thissuspension was added a 4% w/w mixture of osmium tetraoxide in water(0.84 mL, 0.132 mmol). The reaction was stirred for 5 min then sodiumperiodate (3.23 g, 15.11 mmol) was added and stirred for 3 h. Themixture was diluted with water (20 mL) and EtOAc (20 mL). The layerswere separated and the aqueous layer was further extracted with EtOAc(2×20 mL). The combined organic extracts were washed with brine, driedover sodium sulfate, filtered, and concentrated in vacuo. The crudealdehyde was purified by silica gel chromatography (0→60%EtOAc/hexanes). LC-MS calculated for C₉H6ClN₂O (M+H)⁺: m/z=193.0; found192.9.

Step 3: (R)-1-((8-chloro-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 20 with 8-chloro-1,7-naphthyridine-3-carbaldehyde replacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde inStep 2. The crude amine was purified by silica gel chromatography (0→25%MeOH/DCM). LC-MS calculated for C₁₃H₁₅ClN₃O (M+H)⁺: m/z=264.1; found264.1.

Step 4:(R)-1-((8-(3-bromo-2-chlorophenylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

In a vial, 3-bromo-2-chloroaniline (Enamine, cat#EN300-105778: 0.063 g,0.303 mmol) and(R)-1-((8-chloro-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol (0.080 g,0.303 mmol) were suspended in isopropanol (1.517 ml). Sulfuric acid(0.016 ml, 0.303 mmol) was added to the reaction mixture. The resultingmixture was heated to 100° C. for 1 h. The mixture was cooled, quenchedwith aqueous saturated sodium bicarbonate, and diluted with 3:1chloroform/isopropanol. The layers were separated and the water layerwas further extracted with 3:1 chloroform/isopropanol. The combinedorganic layers were dried over magnesium sulfate, filtered andconcentrated in vacuo. The crude solid was purified by columnchromatography (0→25% Methanol/DCM). LC-MS calculated for C₁₉H₁₉BrClN₄O(M+H)⁺: m/z=433.0; found 433.0.

Step 5:(R)-1-((8-(2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 20 with(R)-1-((8-(3-bromo-2-chlorophenylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-olreplacing(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol inStep 3. The crude boronic ester was used directly in the next stepwithout further purification. LC-MS calculated for C₂₅H₃₁BClN₄O₃ (M+H)⁺:m/z=481.2; found 481.2.

Step 6:(3R,3′R)-1,1′-((((2,2′-dichloro-[1,1′-biphenyl]-3,3′-diyl)bis(azanediyl))bis(1,7-naphthyridine-8,3-diyl))bis(methylene))bis(pyrrolidin-3-ol)

To a vial was added(R)-1-((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.010 g, 0.023 mmol),(R)-1-((8-((2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.011 g, 0.023 mmol), 1 M aqueous sodium carbonate (0.046 mmol),dioxane (0.231 ml),(1,1′-bis(di-cyclohexylphosphino)ferrocene)-dichloropalladium(II) (1.687mg, 2.306 μmol), and a stir bar. The mixture was sparged with nitrogenand heated at 90° C. for 2 h. The mixture was diluted with methanol andpurified by prep HPLC (pH=2, acetonitrile/water+TFA) to provide thedesired compound as its TFA salt. LC-MS calculated for C₃₈H₃₇Cl₂N₈O₂(M+H)⁺: m/z=707.2; found 707.3.

Example 23(R)-1-((4-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)pyrido[3,2-d]pyrimidin-7-yl)methyl)pyrrolidin-3-ol

Step 1:(R)-1-((8-(3′-amino-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was added2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline(Combi-Blocks, cat#PN-9127: 0.108 g, 0.465 mmol),(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Example 15, Step 3: 0.192 g, 0.465 mmol), 1 M aqueous sodium carbonate(0.929 mmol),(1,1′-bis(di-cyclohexylphosphino)ferrocene)-dichloropalladium(II) (0.034g, 0.046 mmol), and 1,4-dioxane (3.10 mL). The mixture was degassed,sealed, and heated to 90° C. whilst stirring for 4 h. The mixture wascooled, diluted with EtOAc and filtered through celite. The filtrate wasconcentrated and the crude solid was purified by column chromatography(0→25% Methanol/DCM). LC-MS calculated for C₂₇H₃₀N₅O (M+H)⁺: m/z=440.2;found 440.3.

Step 2:(R)-1-((8-(3′-(7-bromopyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was added 7-bromo-4-chloropyrido[3,2-d]pyrimidine (Synthonix,cat#B0473: 0.187 g, 0.765 mmol),(R)-1-((8-((3′-amino-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.336 g, 0.765 mmol), 2-propanol (3.82 ml), a stir bar and sulfuricacid (0.041 ml, 0.765 mmol). The mixture was heated to 100° C. for 2 h.After cooling to rt, the mixture was diluted with 3:1 CHCl₃/isopropanoland aqueous saturated sodium bicarbonate. The layers were separated, andthe aqueous phase was further extracted. The combined organic layerswere dried over MgSO₄, filtered, and concentrated in vacuo. The crudesolid was washed with ether to provide the desired product as a yellowsolid. LC-MS calculated for C₃₄H₃₂BrN₈O (M+H)⁺: m/z=647.2; found 647.3.

Step 3:(R)-1-((8-(2,2′-dimethyl-3′-(7-vinylpyrido[3,2-d]pyrimidin-4-ylamino)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

A mixture of(R)-1-((8-((3′-((7-bromopyrido[3,2-d]pyrimidin-4-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.248 g, 0.383 mmol), 4,4,5,5-tetramethyl-2-vinyl-1,3,2-dioxaborolane(0.130 ml, 0.766 mmol), sodium carbonate (0.074 ml, 0.766 mmol) and(1,1′-bis(di-cyclohexylphosphino)ferrocene)-dichloropalladium(II) (0.015g, 0.019 mmol) in 1,4-dioxane (1.915 mL) and water (0.479 mL) wasdegassed and sealed. It was stirred at 90° C. for 1.5 h. The mixture wascooled to rt, and water and 3:1 chloroform/isopropanol were added. Thelayers were separated and the aqueous layer was further extracted with3:1 chloroform/isopropanol. The combined organic layers were dried overNa₂SO₄, filtered, and concentrated in vacuo. The crude solid was thenwashed with ether to provide the desired compound as a yellow solid.LC-MS calculated for C₃₆H₃₅N₈O (M+H)⁺: m/z=595.3; found 595.3.

Step 4:(R)-4-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)pyrido[3,2-d]pyrimidine-7-carbaldehyde

To a flask was added(R)-1-((8-((2,2′-dimethyl-3′-((7-vinylpyrido[3,2-d]pyrimidin-4-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.128 g, 0.215 mmol), THF (3.8 mL), water (1 mL), sodium periodate(0.655 g, 3.06 mmol), and 4% osmium tetroxide solution in water (0.170ml, 0.027 mmol). The resulting mixture was stirred for 1 h at rt. Themixture was diluted with water and 3:1 CHCl₃/isopropanol and the layerswere separated. The aqueous layer was further extracted withCHCl₃/isopropanol (3:1). The combined organic layers were washed driedover MgSO₄, filtered, and concentrated in vacuo. The resulting solid waswashed with ether to provide the desired product as a brown solid. LC-MScalculated for C₃₅H₃₃N₈O₂ (M+H)⁺: m/z=597.3; found 597.5.

Step 5:(R)-1-((4-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)pyrido[3,2-d]pyrimidin-7-yl)methyl)pyrrolidin-3-ol

To a vial was added(R)-4-((3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)pyrido[3,2-d]pyrimidine-7-carbaldehyde(0.064 g, 0.107 mmol), (R)-pyrrolidin-3-ol (Combi-Blocks, cat#AM-2005:0.037 g, 0.322 mmol), 1,2-dichloroethane (1.073 ml) and triethylamine(0.045 ml, 0.322 mmol). The reaction was stirred at rt for 2 h, thensodium triacetoxyborohydride (0.114 g, 0.536 mmol) and acetic acid(0.018 ml, 0.322 mmol) were added. The reaction was stirred for 2 h,then the mixture was diluted with methanol and purified by prep HPLC(pH=2, acetonitrile/water+TFA) to provide the desired compound as itsTFA salt. LC-MS calculated for C₃₉H₄₂N₉O₂ (M+H)⁺: m/z=668.3; found668.3.

Example 24(R)-1-((8-(3′-(7-((2-hydroxyethylamino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 23 with ethanolamine (Aldrich, cat#411000) replacing(R)-pyrrolidin-3-ol in Step 5. The reaction mixture was diluted withmethanol and purified by prep HPLC (pH=2, acetonitrile/water+TFA) toprovide the desired compound as its TFA salt. LC-MS calculated forC₃₇H₄₀N₉O₂ (M+H)⁺: m/z=642.3; found 642.3.

Example 25(R)-1-((8-(3′-(7-(((2-hydroxyethyl)(methyl)amino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 23 with 2-(methylamino)ethanol (Aldrich, cat#471445) replacing(R)-pyrrolidin-3-ol in Step 5. The reaction mixture was diluted withmethanol and purified by prep HPLC (pH=2, acetonitrile/water+TFA) toprovide the desired compound as its TFA salt. LC-MS calculated forC₃₈H₄₂N₉O₂ (M+H)⁺: m/z=656.3; found 656.4.

Example 26(R)-1-((8-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-N,N-dimethylpyrrolidine-3-carboxamide

A mixture of(R)-1-((8-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid (Example 9, Step 6: 0.007 g, 5.08 μmol), 2.0 M dimethylamine in THF(0.102 mmol), HATU (2.316 mg, 6.09 μmol), and N,N-diisopropylethylamine(8.84 μl, 0.051 mmol) in DMF (0.051 ml) was stirred at r.t. for 2 h. Thereaction mixture was diluted with methanol and purified by prep HPLC(pH=2, acetonitrile/water+TFA) to provide the desired compound as itsTFA salt. LC-MS calculated for C₄₃H₄₈N₉O₂ (M+H)⁺: m/z=722.4; found722.4.

Example 27(R)-1-((8-(3′-(7-(((S)-2-hydroxypropylamino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 23 with (S)-(+)-1-amino-2-propanol (Aldrich, cat#238864)replacing (R)-pyrrolidin-3-ol in Step 5. The reaction mixture wasdiluted with methanol and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₃₈H₄₂N₉O₂ (M+H)⁺: m/z=656.3; found 656.3.

Example 28(R)-1-((8-(3′-(5-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1:N-(3-bromo-2-methylphenyl)-1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxamide

A mixture of 1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxylicacid (Example 15, Step 6: 1.3 g, 7.26 mmol), 3-bromo-2-methylaniline(Aldrich, cat#530018: 0.894 ml, 7.26 mmol), HATU (3.31 g, 8.71 mmol),and N,N-diisopropylethylamine (2.53 ml, 14.51 mmol) in1,2-dichloroethane (36.3 ml) was stirred at rt for 2 h. The mixture wasconcentrated under reduced pressure. The residue was diluted with ethylacetate, and the resulting mixture was washed with water and brine. Theorganic layer was dried over MgSO₄, filtered and concentrated underreduced pressure. The crude residue was used directly in the next stepwithout further purification. LC-MS calculated for C₁₆H₁₆BrN₂O₂ (M+H)⁺:m/z=347.0; found 347.0.

Step 2:N-(3-bromo-2-methylphenyl)-5-formyl-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamide

This compound was prepared using similar procedures as described forExample 23, Step 4 withN-(3-bromo-2-methylphenyl)-1-methyl-2-oxo-5-vinyl-1,2-dihydropyridine-3-carboxamidereplacing(R)-1-((8-((2,2′-dimethyl-3′-((7-vinylpyrido[3,2-d]pyrimidin-4-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol.The crude aldehyde was purified by silica gel chromatography (5%MeOH/DCM). LC-MS calculated for C₁₅H₁₄BrN₂O₃ (M+H)⁺: m/z=349.0; found349.1.

Step 3:(R)—N-(3-bromo-2-methylphenyl)-5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamide

This compound was prepared using similar procedures as described forExample 20, Step 2 withN-(3-bromo-2-methylphenyl)-5-formyl-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamidereplacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde. Thecrude amine was purified by silica gel chromatography (20% MeOH/DCM).LC-MS calculated for C₁₉H₂₃BrN₃O₃ (M+H)⁺: m/z=420.1; found 420.1.

Step 4:(R)—N-(3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-yl)-5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamide

This compound was prepared using similar procedures as described forExample 20, Step 4 with(R)—N-(3-bromo-2-methylphenyl)-5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamidereplacing(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol.The crude amine was purified by silica gel chromatography (20%MeOH/DCM). LC-MS calculated for C₃₅H₃₇N₆O₄ (M+H)⁺: m/z=605.3; found605.3.

Step 5:(R)—N-(3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-yl)-5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamide

This compound was prepared using similar procedures as described forExample 20, Step 5 with(R)—N-(3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-yl)-5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamidereplacing(R)-1-((8-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol.LC-MS calculated for C₃₅H₃₅N₆O₄ (M+H)⁺: m/z=603.3; found 603.3.

Step 6:(R)-1-((8-(3′-(5-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a vial was added(R)—N-(3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-yl)-5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamide(0.010 g, 0.017 mmol), (R)-pyrrolidine-3-carboxylic acid (Combi-Blocks,cat#ST-7698: 6 mg, 0.050 mmol), 1,2-dichloroethane (0.4 ml) andtriethylamine (6.94 μl, 0.050 mmol). The reaction was stirred at rt for2 h, then sodium triacetoxyborohydride (0.018 g, 0.083 mmol) and aceticacid (2.85 μl, 0.050 mmol) were added. The reaction was stirred for 2 h,then the mixture was diluted with methanol and purified by prep HPLC(pH=2, acetonitrile/water+TFA) to give the desired product as the TFAsalt. LC-MS calculated for C₄₀H₄₄N₇O₅ (M+H)⁺: m/z=702.3; found 702.3.

Example 29(R)-1-((8-(3′-(7-(((R)-2-hydroxypropylamino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 23 with (R)-(+)-1-amino-2-propanol (Aldrich, cat#238856)replacing (R)-pyrrolidin-3-ol in Step 5. The reaction mixture wasdiluted with methanol and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₃₈H₄₂N₉O₂ (M+H)⁺: m/z=656.3; found 656.4.

Example 30(R)-1-((8-(3′-(7-((2-hydroxy-2-methylpropylamino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 23 with 1-amino-2-methyl-2-propanol (Aldrich, cat#777625)replacing (R)-pyrrolidin-3-ol in Step 5. The reaction mixture wasdiluted with methanol and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₃₉H₄₄N₉O₂ (M+H)⁺: m/z=670.3; found 670.4.

Example 31(R)-1-((8-(2′-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1: tert-butyl1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate

A solution of 1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine(Accela, cat#SY032476: 2.0 g, 14.58 mmol) and (Boc)₂O (3.38 mL, 14.58mmol) in dichloromethane (60.0 mL) was stirred at room temperature for 1h. The reaction was quenched with saturated aqueous NaHCO₃ solution, andextracted with ethyl acetate. The combined organic layers were washedwith brine, dried over Na₂SO₄, filtered, and concentrated under reducedpressure. The crude product was used for next step without furtherpurification. LC-MS calculated for C₁₂H₂₀N₃O₂ (M+H)⁺: m/z=238.2; found238.2.

Step 2: 5-tert-butyl 2-methyl1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-2,5(4H)-dicarboxylate

n-Butyllithium in hexanes (2.5 M, 7.00 mL, 17.49 mmol) was added to acold (−78° C.) solution of the crude product from Step 1 intetrahydrofuran (60.0 mL). The reaction mixture was stirred at −78° C.for 10 min prior to the addition of methyl chloroformate (1.7 mL, 21.9mmol). After being stirred at −78° C. for 15 min, the reaction was thenquenched with saturated aqueous NaHCO₃ solution, and extracted withethyl acetate, dried over Na₂SO₄, filtered, and concentrated underreduced pressure. The residue was purified by flash chromatography on asilica gel column eluting with 80% ethyl acetate in hexanes to affordthe desired product ( ). LC-MS calculated for C₁₄H₂₂N₃O₄ (M+H)⁺:m/z=296.2; found 296.3.

Step 3: tert-butyl2-((3-bromo-2-chlorophenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate

Potassium tert-butoxide in tetrahydrofuran (1.0 M, 3.39 mL, 3.39 mmol)was added to a solution of 5-tert-butyl 2-methyl1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-2,5(4H)-dicarboxylate(Step 2: 500 mg, 1.69 mmol) and 3-bromo-2-chloroaniline (348 mg, 1.69mmol) in tetrahydrofuran (12.0 mL). After being stirred at roomtemperature for 1 h, the reaction mixture was quenched with water, andextracted with ethyl acetate. The combined organic layers were washedwith brine, dried over Na₂SO₄, filtered, and concentrated under reducedpressure. The residue was purified by flash chromatography on a silicagel column eluting with 50% ethyl acetate in hexanes to afford thedesired product. LC-MS calculated for C₁₉H₂₃BrClN₄O₃ (M+H)⁺:m/z=469.1/471.1; found 469.1/471.1.

Step 4:N-(3-bromo-2-chlorophenyl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

A solution of tert-butyl2-((3-bromo-2-chlorophenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Step 3: 300 mg, 0.64 mmol) in trifluoroacetic acid (0.2 mL) anddichloromethane (0.4 mL) was stirred at room temperature for 1 h. Thesolvent was evaporated, and the residue was dissolved in tetrahydrofuran(1.0 mL). 37% formaldehyde in water (0.48 mL, 6.39 mmol) and sodiumtriacetoxyborohydride (406 mg, 1.92 mmol) were successively added. Afterbeing stirred at room temperature for 1 h, the mixture was quenched withsat. aq. NaHCO₃ solution and was extracted with ethyl acetate. Thecombined organic layers were washed with brine, dried over Na₂SO₄,filtered and concentrated under reduced pressure. The residue waspurified by flash chromatography on a silica gel column eluting with 10%methanol in dichloromethane to afford the desired product. LC-MScalculated for C₁₅H₁₇BrClN₄O (M+H)⁺: m/z=383.0/385.0; found 383.0/385.0.

Step 5:N-(2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

A mixture ofN-(3-bromo-2-chlorophenyl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Step 4: 60 mg, 0.156 mmol),(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol(Example 9, Step 3: 73.4 mg, 0.188 mmol), sodium carbonate (66.3 mg,0.626 mmol) and[1,1′-bis(di-cyclohexylphosphino)ferrocene]dichloropalladium(II) (11.8mg, 0.016 mmol) in 1,4-dioxane (0.8 mL) and water (0.8 mL) was chargedwith nitrogen and stirred at 100° C. for 2 h. The reaction mixture wasdiluted with water and extracted with ethyl acetate. The combinedorganic layers were washed with brine, dried over Na₂SO₄, filtered, andconcentrated under reduced pressure. The residue was purified by flashchromatography on a silica gel column eluting with 10% methanol indichloromethane to afford the desired product. LC-MS calculated forC₃₁H₃₁ClN₇O₂ (M+H)⁺: m/z=568.2; found 568.3.

Step 6:N-(2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

A suspension ofN-(2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Step 5: 40 mg, 0.070 mmol) and manganese dioxide (92 mg, 1.056 mmol) indichloromethane (0.5 mL) was stirred at 45° C. for 30 min. The reactionwas filtered through a short pad of Celite® and then concentrated toyield a crude residue, which was used directly without furtherpurification. LC-MS calculated for C₃₁H₂₉ClN₇O₂ (M+H)⁺: m/z=566.2; found566.2.

Step 7:(R)-1-((8-(2′-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

A mixture ofN-(2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Step 6: 39.9 mg, 0.070 mmol) and (R)-pyrrolidine-3-carboxylic acid(24.3 mg, 0.211 mmol) in dichloromethane (0.5 mL) was stirred at roomtemperature for 1 h. Then sodium triacetoxyborohydride (14.92 mg, 0.070mmol) and acetic acid (4.03 μl, 0.070 mmol) was added. After beingstirred at room temperature for 1 h, the reaction was diluted with MeOHand then purified by prep-HPLC (pH=10, acetonitrile/water+NH₄OH) to givethe desired product. LC-MS calculated for C₃₆H₃₈ClN₈O₃ (M+H)⁺:m/z=665.3; found 665.4.

Example 32(S)—N-(2-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

This compound was prepared using similar procedures as described forExample 31, Step 7 with (S)-pyrrolidin-3-ol (Combi-Blocks, cat#SS-7948)replacing (R)-pyrrolidine-3-carboxylic acid. The reaction mixture waspurified by prep-HPLC (pH=10, acetonitrile/water+NH₄OH) to give thedesired product. LC-MS calculated for C₃₅H₃₈ClN₈O₂ (M+H)⁺: m/z=637.3;found 637.4.

Example 33(R)-1-((8-(2′-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 31, Step 7 with (R)-3-methylpyrrolidine-3-carboxylic acid (ArkPharm, cat#AK601708) replacing (R)-pyrrolidine-3-carboxylic acid. Thereaction mixture was purified by prep-HPLC (pH=2,acetonitrile/water+TFA) to give the desired product. LC-MS calculatedfor C₃₇H₄₀ClN₈O₃ (M+H)⁺: m/z=679.3; found 679.2.

Example 34(R)-1-((8-((2,2′-dimethyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1: tert-butyl2-(3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylate

This compound was prepared using similar procedures as described forExample 1, Step 7 with(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol(Affinity Research Chemicals, #ARI-0169) replacing2-(((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)amino)ethan-1-ol.After 5 h, saturated aqueous NaHCO₃ (5 mL) solution was added to thereaction mixture followed by extraction with dichloromethane (5 mL×3).The combined organic layers were dried over Na₂SO₄, filtered andconcentrated. The crude product was used for next step without furtherpurification. LC-MS calculated for C₃₄H₃₆N₅O₃S (M+H)⁺: m/z=594.2; found594.3.

Step 2: tert-butyl2-(3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylate

To a solution of tert-butyl2-(3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylate(130 mg, 0.22 mmol) in DCM (2 mL) was added Dess-Martin periodinane (186mg, 0.44 mmol). After 1 h, saturated NaHCO₃ (5 mL) was added to thereaction mixture followed by extraction with dichloromethane (5 mL×3).The combined organic layers were dried Na₂SO₄, filtered andconcentrated. The crude product was used for next step without furtherpurification. LC-MS calculated for C₃₄H₃₄N₅O₃S (M+H)⁺: m/z=592.2; found592.3.

Step 3:(R)-1-((8-((2,2′-dimethyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a solution of tert-butyl2-(3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylate(10 mg, 0.017 mmol) and DIPEA (5 uL) in DCM (0.5 mL) was added(R)-pyrrolidine-3-carboxylic acid (5.8 mg, 0.05 mmol). After 1 h, sodiumtriacetoxyborohydride (6.6 mg, 0.033 mmol) was added to the reactionmixture. After 2 h, TFA (0.5 mL) was added to the reaction mixture.After another 1 h, the reaction mixture was concentrated, then dissolvedin MeOH and purified by prep HPLC (pH=2, acetonitrile/water+TFA) toprovide the compound as the TFA salt. LC-MS calculated for C₃₄H₃₅N₆O₂S(M+H)⁺: m/z=591.2; found 591.3.

Example 35(R)-1-((8-((2,2′-dimethyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 34 with (R)-3-hydroxypyrrolidine replacing(R)-pyrrolidine-3-carboxylic acid in Step 3. The reaction mixture wasdiluted with MeOH then purified by prep-HPLC (pH=2,acetonitrile/water+TFA) to give the desired product as the TFA salt.LC-MS calculated for C₃₃H₃₅N60S (M+H)⁺: m/z=563.3; found 563.3.

Example 36(S)-1-((8-((2,2′-dimethyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 34 with (S)-3-hydroxypyrrolidine replacing(R)-pyrrolidine-3-carboxylic acid in Step 3. The reaction mixture wasdiluted with MeOH then purified by prep-HPLC (pH=2,acetonitrile/water+TFA) to give the desired product as the TFA salt.LC-MS calculated for C₃₃H₃₅N60S (M+H)⁺: m/z=563.3; found 563.3.

Example 37(R)-2-(dimethylamino)-1-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)ethan-1-one

Step 1: Benzyl 6-oxa-3-azabicyclo[3.1. O]hexane-3-carboxylate

To a solution of benzyl 2,5-dihydro-1H-pyrrole-1-carboxylate (12.4 g,61.0 mmol) in DCM (200 ml) was added m-CPBA (16.20 g, 61.0 mmol). Theresulting mixture was stirred at room temperature for 3 h. The reactionwas quenched with saturated aqueous NaHCO₃ solution, the organic layerwas separated, and the aqueous layer was extracted with DCM. Thecombined organic layers were dried over Na₂SO₄, filtered andconcentrated. The crude product was purified using flash chromatography(eluting with 0-50% ethyl acetate in hexanes) to give the desiredproduct as clear oil (13 g, 97%). LC-MS calculated for C₁₂H₁₄NO₃ (M+H)⁺:m/z=220.1; found 220.1.

Step 2: Benzyl 3-amino-4-hydroxypyrrolidine-1-carboxylate

To a flask was charged with benzyl6-oxa-3-azabicyclo[3.1.0]hexane-3-carboxylate (13.0 g, 59.3 mmol) andammonium hydroxide (115 ml, 2.96 mol). The reaction mixture was heatedat 90° C. overnight. The solvent was removed. The residue was used inthe next step without further purification. LC-MS calculated forC₁₂H₁₇N₂O₃ (M+H)⁺: m/z=237.1; found 237.1.

Step 3: Benzyl3-(3-bromo-2-methylbenzamido)-4-hydroxypyrrolidine-1-carboxylate

A solution of 3-bromo-2-methylbenzoic acid (9.70 g, 45.1 mmol) inN,N-dimethylformamide (226 ml) was addedN,N,N′,N′-tetramethyl-O-(7-azabenzotriazol-1-yl)uroniumhexafluorophosphate (18.87 g, 49.6 mmol). After stirring for 5 min,benzyl 3-amino-4-hydroxypyrrolidine-1-carboxylate (10.66 g, 45.1 mmol)and N,N-diisopropylethylamine (23.57 ml, 135 mmol) were added. Thereaction mixture was stirred at room temperature for 2 h. The reactionwas diluted with water, and the aqueous layer was extracted with DCM.The combined organic layers were dried over Na₂SO₄, filtered andconcentrated. The residue was purified with flash chromatography(eluting with 0-60% ethyl acetate in hexanes) to give the desiredproduct (11.5 g, 59%). LC-MS calculated for C₂₀H₂₂BrN₂O₄ (M+H)⁺:m/z=433.1, 435.1; found 433.1, 435.1.

Step 4: benzyl3-(3-bromo-2-methylbenzamido)-4-oxopyrrolidine-1-carboxylate

To a solution of benzyl3-(3-bromo-2-methylbenzamido)-4-hydroxypyrrolidine-1-carboxylate (16.50g, 38.1 mmol) in DCM (200 ml) was added Dess-Martin periodinane (19.38g, 45.7 mmol). The resulting mixture was stirred at room temperature for2 h. The reaction mixture was diluted with Et₂O and 1 M NaOH solution.After stirring for 1 h, the organic layer was separated and dried overNa₂SO₄, filtered and concentrated. The residue was purified with flashchromatography (eluting with 0-50% ethyl acetate in hexanes) to give thedesired product (9.2 g, 56%). LC-MS calculated for C₂₀H₂₀BrN₂O₄ (M+H)⁺:m/z=431.1, 433.1; found 431.1, 433.1.

Step 5: benzyl2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazole-5-carboxylate

To a solution of benzyl3-(3-bromo-2-methylbenzamido)-4-oxopyrrolidine-1-carboxylate (9.23 g,21.40 mmol) in 1,4-dioxane (100 ml) was added POCl₃ (1.995 ml, 21.40mmol). The resulting mixture was stirred at 110° C. for 3 h. Aftercooling to room temperature, the reaction mixture was diluted withsaturated NaHCO₃ solution and ethyl acetate. The aqueous layer wasextracted with ethyl acetate. The combined organic layers were washedwith brine, dried over Na₂SO₄, filtered and concentrated. Theprecipitate was collected via filtration and washed with ethyl acetateand hexanes to give the desired product as an off white solid (4.85 g,55%). LC-MS calculated for C₂₀H₁₈BrN₂O₃ (M+H)⁺: m/z=413.0, 415.0; found413.0, 415.0.

Step 6. 2-(3-Bromo-2-methylphenyl)-5,6-dihydro-4H-pyrrolo[3,4-d]oxazole

To solution of benzyl2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazole-5-carboxylate(3.70 g, 8.95 mmol) in DCM (60 ml) was added 1 M BBr₃ in DCM solution(17.91 ml, 17.91 mmol) at 0° C. After stirring at same temperature for 1h, the reaction mixture was diluted DCM and saturated NaHCO₃ solution.The resultant precipitate was collected vial filtration and dried undervacuum to give the desired product as white solid (2.0 g, 80%). LC-MScalculated for C₁₂H₁₂BrN₂O (M+H)⁺: m/z=279.0, 281.0; found 279.0, 281.0.

Step 7.1-(2-(3-Bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-(dimethylamino)ethan-1-one

A solution of dimethylglycine (20.5 mg, 0.199 mmol) inN,N-dimethylformamide (1 ml) was addedN,N,N′,N′-tetramethyl-O-(7-azabenzotriazol-1-yl)uroniumhexafluorophosphate (104 mg, 0.274 mmol). After stirring for 5 min,2-(3-bromo-2-methylphenyl)-5,6-dihydro-4H-pyrrolo[3,4-d]oxazole (55.5mg, 0.199 mmol) and N,N-diisopropylethylamine (104 μl, 0.596 mmol) wereadded. The reaction mixture was stirred at room temperature for 2 h. Thereaction mixture was diluted with water, and the aqueous layer wasextracted with DCM. The combined organic layers were dried over Na₂SO₄,filtered and concentrated. The residue was purified with silica gelcolumn (eluting with 0-30% MeOH in DCM) to give the desired product (35mg, 49%). LC-MS calculated for C₁₆H₁₉BrN₃O₂ (M+H)⁺: m/z=364.1, 366.1;found 364.1, 366.1.

Step 8.(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a mixture of8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 9, Step 1: 340 mg, 0.994 mmol), (R)-pyrrolidin-3-ol (104 mg,1.192 mmol) in DCM (1.0 ml) was added sodium triacetoxyborohydride (316mg, 1.490 mmol). After stirring for 2 h at room temperature, the mixturewas purified with flash chromatography (0-100% ethyl acetate in hexanes,then 0-35% methanol in DCM). LC-MS calculated for C₂₀H₂₂BrN₄O (M+H)⁺:m/z=413.1, 415.1; found 413.1, 415.1.

Step 9:(R)-1-((8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

A mixture of(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(281 mg, 0.680 mmol), bis(pinacolato)diboron (207 mg, 0.816 mmol),dichloro[1,1′-bis(diphenylphosphino)ferrocene]palladium (II)dichloromethane adduct (55.5 mg, 0.068 mmol), 1,4-dioxane (3.4 mL) andpotassium acetate (167 mg, 1.700 mmol) was stirred at 90° C. under N₂atmosphere for 3 h. The crude was diluted with DCM, and then filteredthrough a pad of Celite®. The filtrate was concentrated and purifiedwith flash chromatography (eluting with ethyl acetate in hexane 0-100%,then methanol/DCM 0-25%) (210 mg, 67%). LC-MS calculated for C₂₆H₃₄BN₄O₃(M+H)⁺: m/z=461.3; found 461.2.

Step 10:(R)-2-(dimethylamino)-1-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)ethan-1-one

A microwave vial charged with1-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-(dimethylamino)ethan-1-one(9.49 mg, 0.026 mmol),(R)-1-((8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(12 mg, 0.026 mmol),dicyclohexyl(2′,4′,6′-triisopropylbiphenyl-2-yl)phosphine-(2′-aminobiphenyl-2-yl)(chloro)palladium(1:1) (2.051 mg, 2.61 μmol) and tripotassium phosphate hydrate (13.21mg, 0.057 mmol) was evacuated under high vacuum and refilled withnitrogen (repeated three times). 1,4-Dioxane (0.6 mL) and water (0.2 mL)was added and resulting mixture was stirred at 80° C. for 1 h. Thereaction mixture was diluted with methanol and 1 N HCl solution andpurified with prep-LC-MS (pH=2, acetonitrile/water+TFA) to give thedesired product as white solid. LC-MS calculated for C₃₆H₄₀N₇O₃ (M+H)⁺:m/z=618.3; found 618.3.

Example 38(S)-2-(dimethylamino)-1-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)ethan-1-one

This compound was prepared using similar procedures as described forExample 37 with (S)-pyrrolidin-3-ol (Combi-Blocks, cat#SS-7948)replacing (R)-pyrrolidin-3-ol in Step 8. LC-MS calculated for C₃₆H₄₀N₇O₃(M+H)⁺: m/z=618.3; found 618.3.

Example 39(R)-1-(2-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1″-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)azetidine-3-carboxylicacid

Step 1:1-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-chloroethan-1-one

A solution of2-(3-bromo-2-methylphenyl)-5,6-dihydro-4H-pyrrolo[3,4-d]oxazole (Example37, Step 6: 1.04 g, 3.73 mmol) in CH₂Cl₂ (18 ml) was added2-chloroacetyl chloride (0.421 g, 3.73 mmol) andN,N-diisopropylethylamine (1.947 ml, 11.18 mmol) at 0° C. The reactionmixture was stirred at room temperature for 2 h. The reaction wasdiluted with water, and the aqueous layer was extracted with DCM. Thecombined organic layers were dried over Na₂SO₄, filtered andconcentrated. The residue was purified with flash chromatography(eluting with 0-60% ethyl acetate in hexanes) to give the desiredproduct as white solid (0.65 g, 49%). LC-MS calculated forC₁₄H₁₃BrClN₂O₂ (M+H)⁺: m/z=355.0, 357.0; found 355.0, 357.0.

Step 2:1-(2-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)azetidine-3-carboxylicacid

The mixture of1-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-chloroethan-1-one(15 mg, 0.042 mmol), azetidine-3-carboxylic acid (Aldrich, cat#391131:4.26 mg, 0.042 mmol), TEA (0.018 ml, 0.127 mmol) andN,N-dimethylformamide (1.0 ml) was heated at 60° C. for 2 h. Thereaction mixture was diluted with methanol and 1 N HCl, then purifiedwith prep-LC-MS (pH 2) to give the desired product C (12 mg, 67%). LC-MScalculated for C₁₈H₁₉BrN₃O₄ (M+H)⁺: m/z=420.1; found 420.1.

Step 3:(R)-1-(2-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)azetidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 37, Step 10 with1-(2-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)azetidine-3-carboxylicacid replacing1-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-(dimethylamino)ethan-1-one.LC-MS calculated for C₃₈H₄₀N₇O₅ (M+H)⁺: m/z=674.3; found 674.3.

Example 40(S)-1-(2-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1″-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid

Step 1:(S)-1-(2-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 39, Step 2 with (S)-pyrrolidine-3-carboxylic acid (Combi-Blocks,#ST-1381) replacing azetidine-3-carboxylic acid. LC-MS calculated forC₁₉H₂₁BrN₃O₄ (M+H)⁺: m/z=434.1, 436.1; found 434.1, 436.1.

Step 2:(S)-1-(2-(2-(3′-((3-(((R)-3-hydroxy)pyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 37, Step 10 with(S)-1-(2-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid replacing1-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-(dimethylamino)ethan-1-one.LC-MS calculated for C₃₉H₄₂N₇O₅ (M+H)⁺: m/z=688.3; found 688.3.

Example 41(R)-1-(2-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid

Step 1:(R)-1-(2-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 39, Step 2 with (R)-pyrrolidine-3-carboxylic acid (Combi-Blocks,cat#ST-7698) replacing azetidine-3-carboxylic acid. LC-MS calculated forC₁₉H₂₁BrN₃O₄ (M+H)⁺: m/z=434.1, 436.1; found 434.1, 436.1.

Step 2:(R)-1-(2-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 37, Step 10 with(R)-1-(2-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid replacing1-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-(dimethylamino)ethan-1-one.LC-MS calculated for C₃₉H₄₂N₇O₅ (M+H)⁺: m/z=688.3; found 688.3.

Example 42(S)-1-(2-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1″-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)piperidine-2-carboxylicacid

Step 1:(S)-1-(2-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)piperidine-2-carboxylicacid

This compound was prepared using similar procedures as described forExample 39, Step 2 with (S)-piperidine-2-carboxylic acid (Alfa Aesar,cat#L15373) replacing azetidine-3-carboxylic acid. LC-MS calculated forC₂₀H₂₃BrN₃O₄ (M+H)⁺: m/z=448.1, 450.1; found 448.1, 450.1.

Step 2:(S)-1-(2-(2-(3′-((3-(((R)-3-hydroxy)pyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)piperidine-2-carboxylicacid

This compound was prepared using similar procedures as described forExample 37, Step 10 with(S)-1-(2-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)piperidine-2-carboxylicacid replacing1-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-(dimethylamino)ethan-1-one.LC-MS calculated for C₄₀H₄₄N₇O₅ (M+H)⁺: m/z=702.3; found 702.3.

Example 43(S)-1-(5-chloro-2-((5-cyanopyridin-3-yl)methoxy)-4-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)methoxy)benzyl)piperidine-2-carboxylicacid

Step 1: 4-((3-bromo-2-methylbenzyl)oxy)-5-chloro-2-hydroxybenzaldehyde

To a mixture of (3-bromo-2-methylphenyl)methanol (Ark Pharm,cat#AK162869: 2.330 g, 11.59 mmol), 5-chloro-2,4-dihydroxybenzaldehyde(Ark Pharm, cat#AK199510: 2.0 g, 11.59 mmol) and triphenylphosphine(3.65 g, 13.91 mmol) in THF (10 ml) at 0° C. was added DIAD (2.93 ml,15.07 mmol). The mixture was stirred at room temperature overnight. Themixture was concentrated and diluted with EtOAc. The solid was collectedby filtration to give4-((3-bromo-2-methylbenzyl)oxy)-5-chloro-2-hydroxybenzaldehyde (2.0 g,5.62 mmol, 48.5% yield). LC-MS calculated for C₁₅H₁₃BrClO₃ (M+H)⁺:m/z=355.0; found 355.2.

Step 2:5-((5-((3-bromo-2-methylbenzyl)oxy)-4-chloro-2-formylphenoxy)methyl)nicotinonitrile

A mixture of4-((3-bromo-2-methylbenzyl)oxy)-5-chloro-2-hydroxybenzaldehyde (2.0 g,5.62 mmol), 5-(chloromethyl)nicotinonitrile (0.927 g, 6.07 mmol) andcesium carbonate (2.75 g, 8.44 mmol) in DMF (12 ml) was stirred at 70°C. for 3 hours. The mixture was poured into water. The solid wascollected by filtration and air dried to give5-((5-((3-bromo-2-methylbenzyl)oxy)-4-chloro-2-formylphenoxy)methyl)nicotinonitrile(2.2 g, 4.66 mmol, 83% yield). LC-MS calculated for C₂₂H₁₇BrClN₂O₃(M+H)⁺: m/z=471.0; found 471.2.

Step 3:(R)-5-((4-chloro-2-formyl-5-((3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)methoxy)phenoxy)methyl)nicotinonitrile

A mixture of5-((5-((3-bromo-2-methylbenzyl)oxy)-4-chloro-2-formylphenoxy)methyl)nicotinonitrile(78 mg, 0.165 mmol),(R)-1-((8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Example 37, Step 9: 91 mg, 0.198 mmol), potassium carbonate (45.7 mg,0.331 mmol) and(1,1′-bis(diphenylphosphino)ferrocene)-dichloropalladium(II) (12.1 mg,0.017 mmol) in 1,4-dioxane (3 mL) and water (0.600 mL) was purged withnitrogen, and heated at 95° C. for 2 hours. The mixture was purified onprep-HPLC (pH=2, acetonitrile/water+TFA) to give(R)-5-((4-chloro-2-formyl-5-((3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)methoxy)phenoxy)methyl)nicotinonitrile(60 mg, 0.083 mmol, 50.0% yield). LC-MS calculated for C₄₂H₃₈ClN₆O₄(M+H)⁺: m/z=725.3; found 725.2.

Step 4:(S)-1-(5-chloro-2-((5-cyanopyridin-3-yl)methoxy)-4-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)methoxy)benzyl)piperidine-2-carboxylicacid

Sodium triacetoxyborohydride (2.192 mg, 10.34 μmol) was added to amixture of(R)-5-((4-chloro-2-formyl-5-((3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)methoxy)phenoxy)methyl)nicotinonitrile(5 mg, 6.89 μmol), (S)-piperidine-2-carboxylic acid (1.4 mg, 10.34 μmol)and triethylamine (1.922 μL, 0.014 mmol) in DCM (1.0 mL) after stirringfor 2 hours at room temperature. After stirring at room temperatureovernight, the mixture was purified using prep-HPLC (pH=2,acetonitrile/water+TFA) to give the desired product as its TFA salt.LC-MS calculated for C₄₈H₄₉ClN₇O₅ (M+H)⁺: m/z=838.3; found 838.2.

Example 44(R)-1-(5-chloro-2-((5-cyanopyridin-3-yl)methoxy)-4-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)methoxy)benzyl)pyrrolidine-3-carboxylicacid

Sodium triacetoxyborohydride (2.192 mg, 10.34 μmol) was added to amixture of(R)-5-((4-chloro-2-formyl-5-((3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)methoxy)phenoxy)methyl)nicotinonitrile(Example 43, Step 3: 5 mg, 6.9 μmol), (R)-pyrrolidine-3-carboxylic acid(Combi-Blocks, cat#ST-7698: 1.2 mg, 10.34 μmol) and triethylamine (1.9μl, 0.014 mmol) in DCM (1.0 mL) after stirring for 2 h at roomtemperature. After stirring at room temperature for 2 h, the mixture waspurified using prep-HPLC (pH=2, acetonitrile/water+TFA) to give thedesired product as its TFA salt. LC-MS calculated for C₄₇H₄₇ClN₇O₅(M+H)⁺: m/z=824.3; found 824.2.

Example 45(R)-1-((8-(2′-Chloro-2-methyl-3′-(1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid

Step 1:8-(2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenylamino)-1,7-naphthyridine-3-carbaldehyde

A mixture of8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 9, Step 1: 0.684 g, 2.0 mmol),4,4,4′,4′,5,5,5′,5′-octamethyl-2,2′-bi(1,3,2-dioxaborolane) (0.660 g,2.60 mmol), potassium acetate (0.393 g, 4.00 mmol), and PdCl₂(dppf)(0.146 g, 0.200 mmol) in dioxane (10.0 mL) was vacuumed and refilledwith nitrogen 3 times and then the reaction mixture was stirred at 110°C. for 7 h. The mixture was diluted with EtOAc, filtered through Celite®and concentrated under reduced pressure. The residue was purified bycolumn chromatography eluting with CH₂Cl₂ to give the desired product.LC-MS calculated for C₂₂H₂₅BN₃O₃ (M+H)⁺: m/z=390.2; found 390.3.

Step 2: tert-butyl2-(2-chloro-3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-l-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-((3-bromo-2-chlorophenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Example 31, Step 3: 0.12 g, 0.255 mmol),8-(2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenylamino)-1,7-naphthyridine-3-carbaldehyde(0.10 g, 0.26 mmol),dichloro[1,1′-bis(diphenylphosphino)ferrocene]palladium (II)dichloromethane adduct (0.019 g, 0.023 mmol) and sodium carbonate (0.049g, 0.464 mmol) in dioxane (2.4 mL)/water (0.6 mL) was evacuated andbackfilled with N₂ 3 times. The reaction mixture was stirred at 110° C.for 24 h. The mixture was diluted with ethyl acetate and washed withwater, dried over Na₂SO₄, filtered and concentrated in vacuo. Theproduct was purified by column chromatography eluting with CH₂Cl₂/EtOAc(7:3). LC-MS calculated for C₃₅H₃₅ClN₇O₄ (M+H)⁺: m/z=652.2; found 652.2.

Step 3:(R)-1-((8-(3′-(5-(tert-butoxycarbonyl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-chloro-2-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid

(R)-3-methylpyrrolidine-3-carboxylic acid (J&W PharmLab, cat#75R0495:0.071 g, 0.552 mmol) was added to a suspension of tert-butyl2-((2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.12 g, 0.184 mmol) in CH₂Cl₂ (1.0 mL) followed by triethylamine (0.205mL, 1.472 mmol). The mixture was stirred at rt for 1 h. At this timesodium triacetoxyborohydride (0.117 g, 0.552 mmol) was added and thenstirred at rt for 2 h. The reaction was quenched with water, extractedwith CH₂Cl₂/iPrOH, and the organic phase was dried over MgSO₄, filtered,and concentrated under reduced pressure. The crude product was useddirectly in the next step without further purification. LC-MS calculatedfor C₄₁H₄₆ClN₈O₅ (M+H)⁺: m/z=765.3; found 765.2.

Step 4:(R)-1-((8-(2′-chloro-2-methyl-3′-(1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid

TFA (2.0 mL) was added to a mixture of(R)-1-((8-((3′-(5-(tert-butoxycarbonyl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-chloro-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid (0.15 g) in CH₂Cl₂ (2.0 mL) and then stirred at rt for 30 min. Thesolvent was concentrated and the mixture was diluted withacetonitrile/water and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₃₆H₃₈ClN₈O₃ (M+H)⁺: m/z=665.3; found 665.2.

Example 46(R)-1-((8-(3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1: tert-butyl2-(3-bromo-2-methylphenylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

Potassium tert-butoxide (1.0 M THF solution, 17.61 mL, 17.61 mmol) wasadded to a solution of 5-tert-butyl 2-methyl1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-2,5(4H)-dicarboxylate(Example 14, Step 2: 2.6 g, 8.80 mmol) and 3-bromo-2-methylaniline(Aldrich, cat#530018: 1.802 g, 9.68 mmol) in THF (45 mL) at 0° C. Afterbeing stirred at rt for 2 h, the reaction mixture was quenched withwater, and extracted with ethyl acetate. The combined organic layerswere washed with brine, dried over Na₂SO₄, filtered and concentratedunder reduced pressure. The crude was stirred with 3:1 hexanes/EtOAc (40mL) for 30 min and then filtered and dried to provide the desiredproduct. LC-MS calculated for C₂₀H₂₆BrN₄O₃ (M+H)⁺: m/z=449.1; found449.1.

Step 2: tert-butyl2-(3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-((3-bromo-2-methylphenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.12 g, 0.267 mmol),(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol(Example 9, Step 3: 0.095 g, 0.243 mmol),dichloro[1,1′-bis(diphenylphosphino)ferrocene]palladium (II)dichloromethane adduct (0.020 g, 0.024 mmol) and sodium carbonate (0.051g, 0.486 mmol) in dioxane (2.4 mL)/water (0.6 mL) was evacuated andbackfilled with N₂. The evacuation/backfill sequence was repeated twoadditional times, and the reaction was stirred at 110° C. for 24 h. Themixture was diluted with ethyl acetate and washed with water, dried overNa₂SO₄, and concentrated under reduced pressure. The crude product waspurified by column chromatography eluting with CH₂Cl₂/EtOAc (1:1). LC-MScalculated for C₃₆H₄₀N₇O₄ (M+H)⁺: m/z=634.3; found 634.5.

Step 3:N-(3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

4 N HCl in dioxane (1.0 mL) was added to a mixture of tert-butyl2-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.10 g, 0.158 mmol) in CH₂Cl₂ (1.0 mL), and the reaction was stirred atrt for 2 h. The solvent was removed and the crude residue was useddirectly in the next step without further purification. LC-MS calculatedfor C₃₁H₃₂N₇O₂ (M+H)⁺: m/z=534.3; found 534.3.

Step 4:N-(3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

Formaldehyde (36% H₂O solution, 6.3 μL, 0.075 mmol) was added to amixture ofN-(3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(20.0 mg, 0.037 mmol) in CH₂Cl₂ (1.0 mL) followed by the addition oftriethylamine (0.026 mL, 0.187 mmol). The mixture was stirred at rt for10 min. At this time sodium triacetoxyborohydride (23.8 mg, 0.11 mmol)was added and then the mixture was stirred at rt for 30 min. Thereaction mixture was quenched with water and then extracted with CH₂Cl₂.The combined organic phase was concentrated under reduced pressure andthe crude product was used directly in the next step without furtherpurification. LC-MS calculated for C₃₂H₃₄N₇O₂ (M+H)⁺: m/z=548.3; found548.4.

Step 5:N-(3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

Manganese dioxide (0.143 g, 1.643 mmol) was added to a solution ofN-(3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(0.060 g, 0.110 mmol) in CH₂Cl₂ (2.0 mL) and then the mixture wasstirred at 40° C. overnight. The mixture was diluted with CH₂Cl₂,filtered through Celite® and then concentrated under reduced pressure toprovide the desired product which was used directly in the next step.LC-MS calculated for C₃₂H₃₂N₇O₂ (M+H)⁺: m/z=546.3; found 546.2.

Step 6:(R)-1-((8-(3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a mixture ofN-(3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(0.010 g, 0.018 mmol) and (R)-pyrrolidine-3-carboxylic acid(Combi-Blocks, cat#ST-7698: 6.3 mg, 0.055 mmol) in CH₂Cl₂ (1.0 mL) wasadded triethylamine (6.3 μL, 0.11 mmol). After stirring for 10 minsodium triacetoxyborohydride (0.012 g, 0.055 mmol) was added, and thereaction was further stirred at rt for 2 h. The reaction wasconcentrated and the mixture was diluted with acetonitrile/water andpurified by prep HPLC (pH=2, acetonitrile/water+TFA) to provide thedesired compound as its TFA salt. LC-MS calculated for C₃₇H₄₁N₈O₃(M+H)⁺: m/z=645.3; found 645.4.

Example 47trans-4-((2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

Step 1: tert-butyl2-(2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

Potassium tert-butoxide (1.0 M in THF, 2.20 mL, 2.20 mmol) was added toa solution of 5-tert-butyl 2-methyl1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-2,5(4H)-dicarboxylate(Example 14, Step 2: 0.295 g, 1.0 mmol) and2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline (Example5, Step 1: 0.304 g, 1.200 mmol) in THF (4.0 mL). After being stirred atrt for 2 h, the reaction mixture was quenched with water, and extractedwith ethyl acetate. The combined organic layers were washed with brine,dried over Na₂SO₄, filtered and concentrated under reduced pressure. Theresidue was purified by flash chromatography on a silica gel columneluting with ethyl acetate in hexanes (0-50%) to afford the desiredproduct. LC-MS calculated for C₂₅H₃₅BClN₄O₅ (M+H)⁺: m/z=517.2; found517.3.

Step 2: tert-butyl2-(2-chloro-3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-((2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.35 g, 0.677 mmol),8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 9, Step 1: 0.255 g, 0.745 mmol),dichloro[1,1′-bis(dicyclohexylphosphino)ferrocene]-palladium(II) (0.051g, 0.068 mmol) and cesium fluoride (0.514 g, 3.39 mmol) in t-BuOH (3.00mL)/water (1.2 mL) was evacuated and backfilled with N₂ 3 times. Thereaction was stirred at 105° C. for 2 h. The mixture was cooled to rt,diluted with ethyl acetate, and washed with water. The organic layerswere washed with brine, dried over MgSO₄, filtered, and concentratedunder reduced pressure. The product was purified by columnchromatography eluting with CH₂Cl₂/EtOAc (7:3). LC-MS calculated forC₃₅H₃₅ClN₇O₄ (M+H)⁺: m/z=652.2; found 652.4.

Step 3: (R)-tert-butyl2-(2-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

(R)-pyrrolidin-3-ol (Combi-Blocks, cat#AM-2005: 0.072 g, 0.828 mmol) wasadded to a solution of tert-butyl2-((2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.180 g, 0.276 mmol) in CH₂Cl₂ (1.0 mL). Triethylamine (0.308 mL, 2.208mmol) was then added and the mixture was stirred at rt for 1 h. At thistime sodium triacetoxyborohydride (0.175 g, 0.828 mmol) was added andthen stirred at rt for 2 h. The reaction was quenched with water,extracted with CH₂Cl₂, and the organic phase was dried over MgSO₄,filtered, and concentrated under reduced pressure. The product waspurified by column chromatography eluting with CH₂Cl₂/MeOH (9:1). LC-MScalculated for C₃₉H₄₄ClN₈O₄ (M+H)⁺: m/z=723.3; found 723.5.

Step 4:(R)—N-(2-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

4 N HCl in dioxane (2.0 mL) was added to a mixture of tert-butyl(R)-2-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.18 g, 0.249 mmol) in CH₂Cl₂ (1.0 mL)/MeOH (1.0 mL) and the reactionwas stirred at rt for 2 h. The solvent was removed and the crude HClsalt was used directly in the next step. LC-MS calculated forC₃₄H₃₆ClN₈O₂ (M+H)⁺: m/z=623.3; found 623.3.

Step 5:trans-4-((2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

To a mixture of(R)—N-(2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(0.025 g, 0.040 mmol) and methyl trans-4-formylcyclohexane-1-carboxylate(Ark Pharm, cat#AK-50935: 0.014 g, 0.080 mmol) in CH₂Cl₂ (1.0 mL) wasadded triethylamine (0.011 mL, 0.201 mmol) and the resulting mixture wasstirred for 10 min. Sodium triacetoxyborohydride (0.026 g, 0.120 mmol)was added and the reaction was stirred at rt for 2 h. The solvent wasremoved and the crude residue was redissolved in methanol/THF/water(0.5/0.5/0.2 mL) and LiOH monohydrate (20 mg) was added. The mixture wasthen stirred at rt for 3 h. The mixture was diluted withacetonitrile/water, acidified to pH=2, and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₄₂H₄₈ClN₈O₄ (M+H)⁺: m/z=763.3; found 763.3.

Example 48cis-4-((2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

To a mixture of(R)—N-(2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Example 47, Step 4: 85.0 mg, 0.136 mmol) in DMF (2.0 mL) was addedmethyl cis-4-(((methylsulfonyl)oxy)methyl)cyclohexane-1-carboxylate(Aldlab Chemicals, cat#JPM2-11253: 102 mg, 0.409 mmol), potassiumcarbonate (56.6 mg, 0.409 mmol), potassium iodide (22.64 mg, 0.136 mmol)and benzyltriethylammonium chloride (31.1 mg, 0.136 mmol). The mixturewas then stirred at 75° C. overnight. The solvent was removed and thecrude residue was redissolved in methanol/THF/water (0.5/0.5/0.2 mL).LiOH hydrate (20 mg) was added and the mixture was stirred at rt for 5h. The mixture was diluted with acetonitrile/water, acidified to pH=2and purified by prep HPLC (pH=2, acetonitrile/water+TFA) to provide thedesired compound as its TFA salt. LC-MS calculated for C₄₂H₄₈ClN₈O₄(M+H)⁺: m/z=763.3; found 763.4.

Example 49cis-4-((2-(2-chloro-2′-methyl-3′-(3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

Step 1:N-(3-bromo-2-methylphenyl)-3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-amine

A mixture of8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 9, Step 1: 0.342 g, 1.0 mmol) and pyrrolidine (0.107 g, 1.500mmol) in CH₂Cl₂ (8.0 mL) was stirred at rt for 10 min. Sodiumtriacetoxyborohydride (0.424 g, 2.000 mmol) was then added and themixture was stirred at rt for 2 h. The mixture was diluted with CH₂Cl₂,washed with 1 N NaOH, water, brine, and the organic phase was separatedand dried over Na₂SO₄, filtered and concentrated under reduced pressure.The product was purified by column chromatography eluting withCH₂Cl₂/MeOH (9:1). LC-MS calculated for C₂₀H₂₂BrN₄ (M+H)⁺: m/z=397.1;found 397.2.

Step 2: tert-butyl2-(2-chloro-2′-methyl-3′-(3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-((2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Example 47, Step 1: 1.0 g, 1.935 mmol),N-(3-bromo-2-methylphenyl)-3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-amine(0.846 g, 2.128 mmol),dichloro[1,1′-bis(dicyclohexylphosphino)ferrocene]palladium(II) (0.146g, 0.193 mmol) and cesium fluoride (1.470 g, 9.67 mmol) in t-BuOH (3.00mL)/water (1.2 mL) was evacuated and backfilled with N₂ 3 times. Thereaction mixture was stirred at 105° C. for 2 h. The mixture was dilutedwith ethyl acetate and washed with water, dried over Na₂SO₄, filtered,and concentrated under reduced pressure. The product was purified bycolumn chromatography eluting with CH₂Cl₂/MeOH (9:1). LC-MS calculatedfor C₃₉H₄₄ClN₈O₃ (M+H)⁺: m/z=707.3; found 707.5.

Step 3:N-(2-chloro-2′-methyl-3′-(3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

This compound was prepared using a similar procedure as described forExample 47, Step 4 with tert-butyl2-(2-chloro-2′-methyl-3′-(3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylatereplacing tert-butyl(R)-2-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate.LC-MS calculated for C₃₄H₃₆ClN₈O (M+H)⁺: m/z=607.3; found 607.4.

Step 4:cis-4-((2-(2-chloro-2′-methyl-3′-(3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 48 withN-(2-chloro-2′-methyl-3′-(3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamidereplacing(R)—N-(2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide.LC-MS calculated for C₄₂H₄₈ClN₈O₃ (M+H)⁺: m/z=747.4; found 747.5.

Example 50trans-4-((2-(2-chloro-3′-(3-(((S)-1-hydroxypropan-2-ylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

Step 1: tert-butyl2-(2-chloro-3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-((2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Example 47, Step 1: 1.0 g, 1.935 mmol),(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol(Affinity Research Chemicals, #ARI-0169: 0.733 g, 2.128 mmol),dichloro[1,1′-bis(dicyclohexylphosphino)ferrocene]palladium(II) (0.146g, 0.193 mmol) and cesium fluoride (1.470 g, 9.67 mmol) in t-BuOH (3.00mL)/water (1.2 mL) was evacuated and backfilled with N₂ 3 times. Thereaction was stirred at 105° C. for 2 h. The mixture was diluted withethyl acetate and washed with water, brine, dried over Na₂SO₄, andconcentrated under reduced pressure. The product was purified by columnchromatography eluting with CH₂Cl₂/EtOAc (1:1). LC-MS calculated forC₃₅H₃₇ClN₇O₄ (M+H)⁺: m/z=654.2; found 654.2.

Step 2:N-(2-chloro-3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

This compound was prepared using a similar procedure as described forExample 47, Step 4 with tert-butyl2-(2-chloro-3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylatereplacing tert-butyl(R)-2-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate.LC-MS calculated for C₃₀H₂₉ClN₇O₂ (M+H)⁺: m/z=554.2; found 554.2.

Step 3: trans-methyl4-((2-(2-chloro-3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylate

To a mixture ofN-(2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(0.075 g, 0.135 mmol) and methyl trans-4-formylcyclohexane-1-carboxylate(Ark Pharm, cat#AK-50935: 0.046 g, 0.271 mmol) in CH₂Cl₂ (1.0 mL) wasadded triethylamine (0.039 mL, 0.677 mmol), and the resulting mixturewas stirred at 40° C. for 30 min. Sodium triacetoxyborohydride (0.086 g,0.406 mmol) was added and stirred at rt for 4 h. The mixture was dilutedwith CH₂Cl₂ and washed with 1 N NaOH, water, and brine. The organicphase was concentrated under reduced pressure and the crude product waspurified by column chromatography eluting with CH₂Cl₂/MeOH (9:1). LC-MScalculated for C₃₉H₄₃ClN₇O₄ (M+H)⁺: m/z=708.3; found 708.4.

Step 4: trans-methyl4-((2-(2-chloro-3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylate

Manganese dioxide (0.313 g, 3.60 mmol) was added to a solution of methyltrans4-((2-((2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridin-5-yl)methyl)cyclohexane-1-carboxylate(0.17 g, 0.240 mmol) in CH₂Cl₂ (5.0 mL) and the mixture was stirred at45° C. for 5 h. The mixture was diluted with CH₂Cl₂, filtered throughCelite® and then concentrated under reduced pressure. The crude productwhich was purified by column chromatography eluting with CH₂Cl₂/MeOH(9:1). LC-MS calculated for C₃₉H₄₁ClN₇O₄ (M+H)⁺: m/z=706.3; found 706.4.

Step 5:trans-4-((2-(2-chloro-3′-(3-(((S)-1-hydroxypropan-2-ylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

A mixture of methyl trans4-((2-((2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridin-5-yl)methyl)cyclohexane-1-carboxylate(0.010 g, 0.014 mmol) and (S)-2-aminopropan-1-ol (Aldrich, cat#A76206:5.32 mg, 0.071 mmol) in CH₂Cl₂ (1.0 mL) was stirred for 30 min at rt.Sodium triacetoxyborohydride (9.0 mg, 0.042 mmol) was added and themixture was stirred at rt overnight. The solvent was removed and thecrude material was redissolved in methanol/THF/water (0.5/0.5/0.2 mL).LiOH monohydrate (40 mg) was added and the mixture was stirred at rt for5 h. The mixture was diluted with acetonitrile/water, acidified to pH=2and purified by prep HPLC (pH=2, acetonitrile/water+TFA) to provide thedesired compound as its TFA salt. LC-MS calculated for C₄₁H₄₈ClN₈O₄(M+H)⁺: m/z=751.3; found 751.4.

Example 51trans-4-((2-(2-chloro-3′-(3-(((1S,2S)-2-hydroxycyclopentylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 50 with (1S,2S)-2-aminocyclopentan-1-ol (Ark Pharm,cat#AK-88109) replacing (S)-2-aminopropan-1-ol in Step 5. LC-MScalculated for C₄₃H₅₀ClN₈O₄ (M+H)⁺: m/z=777.4; found 777.4.

Example 52 trans4-(2-(2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 47 with methyl 4-(2-oxoethyl)cyclohexane-1-carboxylate (Enamine,cat#EN300-198655) replacing methyltrans-4-formylcyclohexane-1-carboxylate in Step 5 as a mixture ofdiastereomers. The diastereomers were separated using prep HPLC (pH=2,acetonitrile/water+TFA), with the trans isomer eluting first in thecolumn, peak 1: retention time on analytical LCMS (pH=2,acetonitrile/water+TFA) t_(r)=0.80 min; LC-MS calculated forC₄₃H₅₀ClN₈O₄ (M+H)⁺: m/z=777.4; found 777.4.

Example 53 cis4-(2-(2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 52 The diastereomers were separated using prep HPLC (pH=2,acetonitrile/water+TFA), with the minor cis isomer eluting later in thecolumn, peak 2: retention time on analytical LCMS (pH=2,acetonitrile/water+TFA) t_(r)=0.82 min; LC-MS calculated forC₄₃H₅₀ClN₈O₄ (M+H)⁺: m/z=777.4; found 777.4.

Example 543-(2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)butanoicacid

This compound was prepared using a similar procedure as described forExample 47 with methyl 3-oxobutanoate (Aldrich, cat#537365) replacingmethyl trans-4-formylcyclohexane-1-carboxylate in Step 5. LC-MScalculated for C₃₈H₄₂ClN₈O₄ (M+H)⁺: m/z=709.3; found 709.2.

Example 55 cis4-((2-(2-chloro-3′-(3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

Step 1:N-(2-chloro-3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

TFA (2.0 mL, 26.0 mmol) was added to a solution of tert-butyl2-((2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Example 45, Step 2: 0.20 g, 0.307 mmol) in CH₂Cl₂ (1.0 mL) at rt andthe reaction was stirred for 30 min. The solvent was removed undervacuum and the crude TFA salt was used directly in the next step withoutfurther purification. LC-MS calculated for C₃₀H₂₇ClN₇O₂ (M+H)⁺:m/z=552.2; found 552.1.

Step 2: cis-methyl4-((2-(2-chloro-3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylate

To a mixture ofN-(2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(150.0 mg, 0.272 mmol) in DMF (2.0 mL) was added methylcis-4-(((methylsulfonyl)oxy)methyl)cyclohexane-1-carboxylate (AldlabChemicals, cat#JPM2-11253: 136 mg, 0.543 mmol), potassium carbonate (113mg, 0.815 mmol), potassium iodide (45.1 mg, 0.272 mmol), andbenzyltriethylammonium chloride (61.9 mg, 0.272 mmol). The resultingmixture was then stirred at 75° C. overnight. The mixture was dilutedwith CH₂Cl₂ and then washed with water and brine. The organic phase wasdried over MgSO₄, filtered, and concentrated under reduced pressure. Theproduct was purified by column chromatography eluting with CH₂Cl₂/MeOH(9:1). LC-MS calculated for C₃₉H₄₁ClN₇O₄ (M+H)⁺: m/z=706.3; found 706.4.

Step 3:cis-4-((2-(2-chloro-3′-(3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

A mixture of methylcis-4-((2-((2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridin-5-yl)methyl)cyclohexane-1-carboxylate(0.010 g, 0.014 mmol) and (S)-pyrrolidin-3-ol (Combi-Blocks,cat#SS-7948, 1.234 mg, 0.014 mmol) in CH₂C₂(1.0 mL) was stirred for 30min and then sodium triacetoxyborohydride (9.00 mg, 0.042 mmol) wasadded and stirred at rt overnight. The solvent was removed and the crudewas redissolved in methanol/THF/water (0.5/0.5/0.2 mL). LiOH monohydrate(40 mg) was added and the mixture was stirred at rt for 5 h. The mixturewas diluted with acetonitrile/water, acidified to pH=2 and purified byprep HPLC (pH=2, acetonitrile/water+TFA) to provide the desired compoundas its TFA salt. LC-MS calculated for C₄₂H₄₈ClN₈O₄ (M+H)⁺: m/z=763.3;found 763.5.

Example 56 cis4-((2-(2-chloro-3′-(3-(((R)-3-hydroxy-3-methylpyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 55 with (R)-3-methylpyrrolidin-3-ol (Ark Pharm, cat#AK100499)replacing (S)-pyrrolidin-3-ol in Step 3. LC-MS calculated forC₄₃H₅₀ClN₈O₄ (M+H)⁺: m/z=777.3; found 777.3.

Example 57(R)-4-(2-(2-chloro-3′-(3-((3-hydroxy-3-methylpyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)cyclohexanecarboxylicacid

Step 1: tert-butyl4-(2-(2-chloro-3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)cyclohexanecarboxylate

To a mixture ofN-(2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Example 50, Step 2: 0.275 g, 0.496 mmol) and tert-butyl4-oxocyclohexane-1-carboxylate (Ark Pharm, cat#AK-40114: 0.197 g, 0.993mmol) in CH₂Cl₂ (1.0 mL) was added triethylamine (0.142 mL, 2.482 mmol).The resulting mixture was stirred at 40° C. for 30 min and then sodiumtriacetoxyborohydride (0.316 g, 1.489 mmol) was added and stirred at rtovernight. The mixture was diluted with CH₂Cl₂ and washed with 1 N NaOH,water, and brine. The solvent was removed and the product was purifiedby column chromatography eluting with CH₂Cl₂/MeOH (9:1). LC-MScalculated for C₄₁H₄₇ClN₇O₄ (M+H)⁺: m/z=736.3; found 736.3.

Step 2: tert-butyl4-(2-(2-chloro-2′-methyl-3′-(3-((methylsulfonyloxy)methyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)cyclohexanecarboxylate

Methanesulfonyl chloride (0.023 g, 0.204 mmol) was added to a solutionof tert-butyl4-(2-((2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridin-5-yl)cyclohexane-1-carboxylate(0.10 g, 0.136 mmol) and triethylamine (0.057 mL, 0.407 mmol) in CH₂Cl₂(2.0 mL) at 0° C. and then the reaction was stirred at this temperaturefor 30 min. The mixture was quenched by adding aqueous saturated NaHCO₃,and the aqueous phase was extracted with methylene chloride. Thecombined organic layers were dried over Na₂SO₄, filtered, andconcentrated under reduced pressure, and the crude product was useddirectly in the next step. LC-MS calculated for C₄₂H₄₉ClN₇O₆S (M+H)⁺:m/z=814.3; found 814.3.

Step 3:(R)-4-(2-(2-chloro-3′-(3-((3-hydroxy-3-methylpyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)cyclohexanecarboxylicacid

(R)-3-methylpyrrolidin-3-ol (Ark Pharm, cat#AK100499: 2.484 mg, 0.025mmol) was added to a solution of tert-butyl4-(2-((2-chloro-2′-methyl-3′-((3-(((methylsulfonyl)oxy)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridin-5-yl)cyclohexane-1-carboxylate(0.020 g, 0.025 mmol) and triethylamine (0.021 mL, 0.147 mmol) in CH₂Cl₂(0.8 mL) at rt. The reaction was stirred at 30° C. for 1 h. The solventwas removed and the residue was treated with 4 N HCl in dioxane (1.0 mL)for 2 h. The mixture was diluted with acetonitrile/water, acidified topH=2 and purified by prep HPLC (pH=2, acetonitrile/water+TFA) to providethe desired compound as its TFA salt. LC-MS calculated for C₄₂H₄₈ClN₈O₄(M+H)⁺: m/z=763.3; found 763.3.

Example 58(S)-4-(2-(2-chloro-3′-(3-((3-hydroxy-3-methylpyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 57 with (S)-3-methylpyrrolidin-3-ol (J&W Pharma, cat#75R0496)replacing (R)-3-methylpyrrolidin-3-ol in Step 3. LC-MS calculated forC₄₂H₄₈ClN₈O₄ (M+H)⁺: m/z=763.3; found 763.3.

Example 59 trans4-(2-(2-(2-chloro-3′-(3-(((R)-1-hydroxypropan-2-ylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

Step 1: trans methyl4-(2-(2-(2-chloro-3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylate

To a mixture ofN-(2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Example 50, Step 2: 0.075 g, 0.135 mmol) and methyl trans4-(2-oxoethyl)cyclohexane-1-carboxylate (Enamine, cat#EN300-198655:0.050 g, 0.271 mmol) in CH₂Cl₂ (1.0 mL) was added triethylamine (0.039mL, 0.677 mmol) and the resulting mixture was stirred at 40° C. for 30min. Sodium triacetoxyborohydride (0.086 g, 0.406 mmol) was added andstirred at rt for 4 h. The mixture was diluted with CH₂Cl₂ and washedwith 1 N NaOH, water, and brine. The solvent was removed and the productwas purified by column chromatography eluting with CH₂Cl₂/MeOH (9:1).LC-MS calculated for C₄₀H₄₅ClN₇O₄ (M+H)⁺: m/z=722.3; found 722.4.

Step 2: trans methyl4-(2-(2-(2-chloro-2′-methyl-3′-(3-((methylsulfonyloxy)methyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylate

Methanesulfonyl chloride (0.024 g, 0.208 mmol) was added to a solutionof trans methyl4-(2-(2-((2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridin-5-yl)ethyl)cyclohexane-1-carboxylate(0.10 g, 0.138 mmol) and triethylamine (0.058 mL, 0.415 mmol) in CH₂Cl₂(2.0 mL) at 0° C. and then the reaction was stirred at this temperaturefor 30 min. The mixture was quenched by adding aqueous saturated NaHCO₃,and the reaction was extracted with methylene chloride. The combinedorganic layers were dried over Na₂SO₄, filtered, and concentrated underreduced pressure. The crude product was used directly in the next step.LC-MS calculated for C₄₁H₄₇ClN₇O₆S (M+H)⁺: m/z=800.3; found 800.3.

Step 3:trans-4-(2-(2-(2-chloro-3′-(3-(((R)-1-hydroxypropan-2-ylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

(R)-2-aminopropan-1-ol (Aldrich, cat#297682: 1.9 mg, 0.025 mmol) wasadded to a solution of trans methyl4-(2-(2-((2-chloro-2′-methyl-3′-((3-(((methylsulfonyl)oxy)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridin-5-yl)ethyl)cyclohexane-1-carboxylate(20 mg, 0.025 mmol) and triethylamine (0.021 mL, 0.147 mmol) in CH₂Cl₂(0.8 mL) at rt. The reaction was stirred at 30° C. for 1 h. The solventwas removed and the residue was dissolved in MeOH/THF/water (0.4/0.4/0.2mL). LiOH monohydrate (40 mg) was added and stirred at rt for 4 h. Themixture was diluted with acetonitrile/water, acidified to pH=2 andpurified by prep HPLC (pH=2, acetonitrile/water+TFA) to provide thedesired compound as its TFA salt. LC-MS calculated for C₄₂H₅₀ClN₈O₄(M+H)⁺: m/z=765.4; found 765.5.

Example 60 trans4-(2-(2-(2-chloro-3′-(3-(((S)-1-hydroxypropan-2-ylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 59 with (S)-2-aminopropan-1-ol (Aldrich, cat#A76206) replacing(R)-2-aminopropan-1-ol in Step 3. LC-MS calculated for C₄₂H₅₀ClN₈O₄(M+H)⁺: m/z=765.4; found 765.5.

Example 61trans-4-(2-(2-(2-chloro-3′-(3-(((R)-3-hydroxy-3-methylpyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 59 with (R)-3-methylpyrrolidin-3-ol (Ark Pharm, cat#AK100499)replacing (R)-2-aminopropan-1-ol in Step 3. LC-MS calculated forC₄₄H₅₂ClN₈O₄ (M+H)⁺: m/z=791.4; found 791.4.

Example 62(R)-4-(2-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)-1-methylcyclohexanecarboxylicacid

Step 1: (R)-tert-butyl2-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl1-methyl-2-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)carbamoyl)-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Example 14, Step 3: 0.25 g, 0.504 mmol),(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Example 9, Step 2: 0.229 g, 0.554 mmol),dichloro[1,1′-bis(dicyclohexylphosphino)ferrocene]palladium(II), (0.038g, 0.050 mmol), and cesium fluoride (0.383 g, 2.52 mmol) in t-BuOH (8.00mL)/water (3.0 mL) was evacuated and backfilled with N₂. Theevacuation/backfill sequence was repeated two more times, and then thereaction was stirred at 105° C. for 2 h. The mixture was diluted withethyl acetate and washed with water and brine. The organic phase wasdried over MgSO₄, filtered, and concentrated. The product was purifiedby column chromatography eluting with CH₂Cl₂/MeOH (9:1). LC-MScalculated for C₄₀H₄₇N₈O₄ (M+H)⁺: m/z=703.4; found 703.6.

Step 2:(R)—N-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

This compound was prepared using a similar procedure as described forExample 47, Step 4 with (R)-tert-butyl2-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylatereplacing tert-butyl(R)-2-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate.LC-MS calculated for C₃₅H₃₉N₈O₂ (M+H)⁺: m/z=603.3; found 603.3.

Step 3:(R)-4-(2-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)-1-methylcyclohexanecarboxylicacid

To a mixture of(R)—N-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(0.025 g, 0.041 mmol) and 1-methyl-4-oxocyclohexane-1-carboxylic acid(Aurum Pharmatech, cat#U31985: 6.48 mg, 0.041 mmol) in CH₂Cl₂ (1.0 mL)was added triethylamine (0.012 mL, 0.207 mmol), and the reaction wasstirred for 30 min at 40° C. Sodium triacetoxyborohydride (0.026 g,0.124 mmol) was added and stirred at 40° C. for 4 h. The mixture wasdiluted with acetonitrile/water, acidified to pH=2 and purified by prepHPLC (pH=2, acetonitrile/water+TFA) to provide the two desired compoundsas TFA salts.

Peak 1:

retention time on analytical LCMS (pH=2, acetonitrile/water+TFA)t_(r)=0.686 min; LC-MS calculated for C₄₃H₅₁N₈O₄ (M+H)⁺: m/z=743.4;found 743.4.

Peak 2:

retention time on analytical LCMS (pH=2, acetonitrile/water+TFA)t_(r)=0.700 min; LC-MS calculated for C₄₃H₅₁N₈O₄ (M+H)⁺: m/z=743.4;found 743.4.

Example 63trans-4-(2-(2-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

To a mixture of(R)—N-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Example 62, Step 2: 0.025 g, 0.041 mmol) and methyl trans4-(2-oxoethyl)cyclohexane-1-carboxylate (Enamine, cat#EN300-198655:0.015 g, 0.083 mmol) in CH₂Cl₂ (1.0 mL) was added triethylamine (0.012mL, 0.207 mmol). The resulting mixture was stirred for 10 min and thensodium triacetoxyborohydride (0.026 g, 0.124 mmol) was added and stirredat rt overnight. The solvent was removed and the crude was redissolvedin methanol/THF/water (0.5/0.5/0.2 mL). LiOH monohydrate (20 mg) wasadded and the mixture was stirred at rt for 3 h. The mixture was dilutedwith acetonitrile/water, acidified to pH=2, and purified by prep HPLC(pH=2, acetonitrile/water+TFA) to provide the desired compound as itsTFA salt. LC-MS calculated for C₄₄H₅₃N₈O₄ (M+H)⁺: m/z=757.4; found757.6.

Example 64(R)-4-(2-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)cyclohexanecarboxylicacid

To a mixture of(R)—N-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Example 62, Step 2: 0.275 g, 0.456 mmol) and tert-butyl4-oxocyclohexane-1-carboxylate (Ark Pharm, cat#AK-40114: 0.181 g, 0.912mmol) in CH₂Cl₂ (1.0 mL) was added triethylamine (0.131 mL, 2.281 mmol).The mixture was stirred at 40° C. for 30 min and then sodiumtriacetoxyborohydride (0.290 g, 1.369 mmol) was added and stirred at rtovernight to provide (R)-tert-butyl4-(2-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)cyclohexanecarboxylateas a mixture of cis & trans isomers which were separated by prep-HPLC(pH=10, acetonitrile/water+NH₄OH):

Peak 1:

retention time on analytical LCMS (pH=10, acetonitrile/water+NH₄OH),t_(r)=1.78 min; LC-MS calculated for C₄₆H₅₇N₈O₄ (M+H)⁺: m/z=785.4; found785.4. Peak 2: retention time on analytical LCMS (pH=10,acetonitrile/water+NH₄OH), t_(r)=1.82 min; LC-MS calculated forC₄₆H₅₇N₈O₄ (M+H)⁺: m/z=785.4; found 785.4.

The fractions of each peak were combined, concentrated under reducedpressure, and the resulting residues were then treated with 4 N HCl (indioxane) for 4 h. The respective mixtures were diluted withacetonitrile/water, acidified to pH=2 and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide each isomer as its TFA salt.

Peak 1:

retention time on analytical LCMS (pH=2, acetonitrile/water+TFA),t_(r)=0.656 min; LC-MS calculated for C₄₂H₄₉N₈O₄ (M+H)⁺: m/z=729.4;found 729.4.

Peak 2:

retention time on analytical LCMS (pH=2, acetonitrile/water+TFA),t_(r)=0.663 min; LC-MS calculated for C₄₂H₄₉N₈O₄ (M+H)⁺: m/z=729.4;found 729.4.

Example 65Trans-4-(2-(2-(2,2′-dichloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

Step 1: (R)-tert-butyl2-(2,2′-dichloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-((2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Example 47, Step 1: 0.050 g, 0.097 mmol),(R)-1-((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Example 22, Step 4: 0.046 g, 0.106 mmol),dichloro[1,1′-bis(dicyclohexylphosphino)ferrocene]palladium(II) (7.31mg, 9.67 μmol) and cesium fluoride (0.073 g, 0.484 mmol) in t-BuOH (8.00mL)/water (3.0 mL) was evacuated and flushed with N₂ 3 times. Thereaction was stirred at 105° C. for 2 h. The mixture was diluted withethyl acetate and washed with water and brine. The organic layer wasseparated, dried over Na₂SO₄, filtered, and concentrated under reducedpressure. The product was purified by column chromatography eluting withCH₂Cl₂/MeOH (9:1). LC-MS calculated for C₃₈H₄₁Cl₂N₈O₄ (M+H)⁺: m/z=743.3;found 743.3.

Step 2:(R)—N-(2,2′-dichloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

This compound was prepared using a similar procedure as described forExample 47, Step 4 with (R)-tert-butyl2-(2,2′-dichloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylatereplacing tert-butyl(R)-2-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate.LC-MS calculated for C₃₃H₃₃Cl₂N₈O₂ (M+H)⁺: m/z=643.2; found 643.2.

Step 3: Trans4-(2-(2-(2,2′-dichloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 63 with(R)—N-(2,2′-dichloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamidereplacing(R)—N-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide.LC-MS calculated for C₄₂H₄₇Cl₂N₈O₄ (M+H)⁺: m/z=797.3; found 797.2.

Example 66 trans4-(2-(2-(2′-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

Step 1: (R)-tert-butyl2-(2′-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

This compound was prepared using a similar procedure as described forExample 65 with tert-butyl1-methyl-2-(2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenylcarbamoyl)-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate(Example 14, Step 3) replacing tert-butyl2-((2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylatein Step 1. LC-MS calculated for C₃₉H₄₄ClN₈O₄ (M+H)⁺: m/z=723.3; found723.3.

Step 2:(R)—N-(2′-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2-methylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

This compound was prepared using a similar procedure as described forExample 47 with (R)-tert-butyl2-(2′-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylatereplacing tert-butyl(R)-2-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylatein Step 4. LC-MS calculated for C₃₄H₃₆ClN₈O₂ (M+H)⁺: m/z=623.3; found623.3.

Step 3: trans4-(2-(2-(2′-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 63 with(R)—N-(2′-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2-methylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamidereplacing(R)—N-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide.LC-MS calculated for C₄₃H₅₀ClN₈O₄ (M+H)⁺: m/z=777.4; found 777.4.

Example 67(R)-1-((4-(2′-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2-methylbiphenyl-3-ylamino)pyrido[3,2-d]pyrimidin-7-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid

Step 1: tert-butyl2-(3′-amino-2-chloro-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-((3-bromo-2-chlorophenyl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Example 31, Step 3: 0.470 g, 1.0 mmol),2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline(Combi-Blocks, cat#PN-9127: 0.233 g, 1.000 mmol),dichloro[1,1′-bis(diphenylphosphino)ferrocene]palladium (II)dichloromethane adduct (0.082 g, 0.100 mmol) and sodium carbonate (0.212g, 2.000 mmol) in dioxane (6 mL)/water (2 mL) was evacuated under vacuumand flushed with N₂ 3 times. The reaction was stirred at 110° C.overnight. The mixture was diluted with ethyl acetate and washed withsaturated NaHCO₃, water, and brine. The organic phase was separated anddried over Na₂SO₄, filtered, and concentrated under reduced pressure.The product was purified by silica gel chromatography using CH₂Cl₂/EtOAc(1:1). LC-MS calculated for C₂₆H₃₁ClN₅O₃ (M+H)⁺: m/z=496.2; found 496.1.

Step 2: tert-butyl2-(3′-(7-bromopyrido[3,2-d]pyrimidin-4-ylamino)-2-chloro-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

7-Bromo-4-chloropyrido[3,2-d]pyrimidine (Synthonix, cat#B0473: 0.217 g,0.887 mmol) was added to a mixture of tert-butyl2-((3′-amino-2-chloro-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.40 g, 0.806 mmol) and triethylamine (0.225 mL, 1.613 mmol) in2-propanol (5.0 mL) at rt. The reaction was stirred at 100° C. for 2 h.Diethyl ether (5.0 mL) was added to the reaction mixture and theresulting precipitate was filtered and dried to provide the crudeproduct which was used directly in the next step without furtherpurification. LC-MS calculated for C₃₃H₃₃BrClN₈O₃ (M+H)⁺: m/z=703.2;found 703.3.

Step 3: tert-butyl2-(2-chloro-2′-methyl-3′-(7-vinylpyrido[3,2-d]pyrimidin-4-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-((3′-((7-bromopyrido[3,2-d]pyrimidin-4-yl)amino)-2-chloro-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.35 g, 0.497 mmol), 4,4,5,5-tetramethyl-2-vinyl-1,3,2-dioxaborolane(Aldrich, cat#663348: 0.115 g, 0.746 mmol),dichloro[1,1′-bis(diphenylphosphino)ferrocene]-palladium (II)dichloromethane adduct (0.041 g, 0.050 mmol) and sodium carbonate (0.105g, 0.994 mmol) in dioxane (6 mL)/water (2 mL) was evacuated under vacuumand flushed with N₂ 3 times. The reaction was stirred at 110° C. for 2h. The mixture was diluted with ethyl acetate and washed with saturatedNaHCO₃, water, and brine. The organic phase was separated, dried overNa₂SO₄, and concentrated under reduced pressure. The product waspurified by column chromatography using CH₂Cl₂/EtOAc (7:3). LC-MScalculated for C₃₅H₃₆ClN₈O₃ (M+H)⁺: m/z=651.3; found 651.2.

Step 4: tert-butyl2-(2-chloro-3′-(7-formylpyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A vial was charged with tert-butyl2-((2-chloro-2′-methyl-3′-((7-vinylpyrido[3,2-d]pyrimidin-4-yl)amino)-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(10.0 mg, 0.015 mmol), a stir bar, THF (2.0 mL) and water (0.8 mL). Tothis suspension was added a 4% w/w mixture of osmium tetroxide in water(12.0 μL, 1.529 μmol). The reaction was stirred for 5 min then sodiumperiodate (16.42 mg, 0.077 mmol) was added. After stirring at rt for 1h, the reaction was quenched with a saturated aqueous solution of sodiumthiosulfate. The mixture was then extracted with ethyl acetate (2×10mL), and the combined organic layers were washed with brine, dried overNa₂SO₄, filtered, and concentrated in vacuo. The crude residue was useddirectly in the next step. LC-MS calculated for C₃₄H₃₄ClN₈O₄ (M+H)⁺:m/z=653.2; found 653.2.

Step 5:(R)-1-((4-(2′-chloro-2-methyl-3′-(1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)biphenyl-3-ylamino)pyrido[3,2-d]pyrimidin-7-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid

(R)-3-methylpyrrolidine-3-carboxylic acid (J&W PharmLab, cat#75R0495:0.015 g, 0.115 mmol) was added to a suspension of tert-butyl2-((2-chloro-3′-((7-formylpyrido[3,2-d]pyrimidin-4-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(0.025 g, 0.038 mmol) in CH₂Cl₂ (1.0 mL). Triethylamine (0.043 mL, 0.306mmol) was added and the mixture was stirred at rt for 1 h. At this timesodium triacetoxyborohydride (0.024 g, 0.115 mmol) was added and thenstirred at rt for 2 h. The reaction was quenched with water, extractedwith CH₂Cl₂/iPrOH, and the layers were separated. The organic phase wasdried over Na₂SO₄, filtered, and concentrated under reduced pressure.The resulting crude residue was redissolved in CH₂Cl₂ (0.2 mL) and thenTFA (0.5 mL) was added and the reaction was stirred at rt for 30 min.The solvent was removed and the crude product was used directly in thenext step. LC-MS calculated for C₃₅H₃₇ClN₉O₃ (M+H)⁺: m/z=666.3; found666.5.

Step 6:(R)-1-((4-(2′-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2-methylbiphenyl-3-ylamino)pyrido[3,2-d]pyrimidin-7-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid

Formaldehyde (4.5 mg, 0.15 mmol) was added to a mixture of(R)-1-((4-(2′-chloro-2-methyl-3′-(1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)biphenyl-3-ylamino)pyrido[3,2-d]pyrimidin-7-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid (20. mg, 0.03 mmol) in CH₂Cl₂ (1.0 mL) followed by the addition oftriethylamine (0.021 mL, 0.15 mmol). The mixture was stirred at rt for10 min. At this time sodium triacetoxyborohydride (19 mg, 0.09 mmol) wasadded and then stirred at rt for 30 min. The mixture was diluted withacetonitrile/water, acidified to pH=2 and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₃₆H₃₉ClN₉O₃ (M+H)⁺: m/z=680.3; found 680.4.

Example 68(R)-4-(2-(2-chloro-3′-(7-((3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)-1-methylcyclohexanecarboxylicacid

Step 1: (R)-tert-butyl2-(2-chloro-3′-(7-((3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylate

A mixture of tert-butyl2-((2-chloro-3′-((7-formylpyrido[3,2-d]pyrimidin-4-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylate(Example 67, Step 4: 0.10 g, 0.153 mmol) and (R)-pyrrolidin-3-ol(Combi-Blocks, cat#AM-2005: 0.027 g, 0.306 mmol) in CH₂Cl₂ (8.0 mL) wasstirred at rt for 10 min. Sodium triacetoxyborohydride (0.097 g, 0.459mmol) was then added and the mixture was stirred at rt for 2 h. Themixture was diluted with CH₂Cl₂, washed with 1 N NaOH, water, and brine.The organic phase was dried over Na₂SO₄, filtered and concentrated. Theproduct was purified by silica gel chromatography eluting withCH₂Cl₂/MeOH (9:1). LC-MS calculated for C₃₈H₄₃ClN₉O₄ (M+H)⁺: m/z=724.3;found 724.5.

Step 2:(R)—N-(2-chloro-3′-(7-((3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide

This compound was prepared using a similar procedure as described forExample 47 with (R)-tert-butyl2-(2-chloro-3′-(7-((3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridine-5(4H)-carboxylatereplacing tert-butyl(R)-2-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)-1-methyl-1,4,6,7-tetrahydro-5H-imidazo[4,5-c]pyridine-5-carboxylatein Step 4. LC-MS calculated for C₃₃H₃₅ClN₉O₂ (M+H)⁺: m/z=624.3; found624.2.

Step 3:(R)-4-(2-(2-chloro-3′-(7-((3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)-1-methylcyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 62 with(R)—N-(2-chloro-3′-(7-((3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamidereplacing(R)—N-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamidein Step 3.

Peak 1:

retention time on analytical LCMS (pH=2, acetonitrile/water+TFA)t_(r)=0.796 min; LC-MS calculated for C₄₁H₄₇ClN₉O₄ (M+H)⁺: m/z=764.3;found 764.4.

Peak 2:

retention time on analytical LCMS (pH=2, acetonitrile/water+TFA)t_(r)=0.805 min; LC-MS calculated for C₄₁H₄₇ClN₉O₄ (M+H)⁺: m/z=764.3;found 764.4.

Example 69 trans4-((2-(2-chloro-3′-(7-(((R)-3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 47 with(R)—N-(2-chloro-3′-(7-((3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Example 68, Step 2) replacing(R)—N-(2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamidein Step 5. LC-MS calculated for C₄₁H₄₇ClN₉O₄ (M+H)⁺: m/z=764.3; found764.5.

Example 70(R)-1-((5-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)pyrido[4,3-b]pyrazin-2-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1: 5-(3-chloro-2-methylphenylamino)pyrido[4,3-b]pyrazin-2(H)-one

In a vial was combined 3-chloro-2-methylaniline (Aldrich, cat#101621:351 mg, 2.478 mmol), 5-chloropyrido[3,4-b]pyrazin-2(1H)-one (Ark Pharm,cat#AK329687: 500 mg, 2.75 mmol), isopropanol (5.0 mL), and sulfuricacid (0.147 mL, 2.75 mmol). The vial was sealed, then the reaction washeated to 100° C. for 1 hour. The mixture was cooled to rt, quenchedwith sat. NaHCO₃, diluted with ethyl acetate and the layers wereseparated. The aqueous layer was further extracted with ethyl acetate,and the combined organic layers were washed with brine, dried overMgSO₄, and filtered. The filtrate was concentrated in vacuo and thecrude residue was purified by silica gel chromatography (50%EtOAc/hexanes) to provide the desired compound as a yellow oil. LC-MScalculated for C₁₄H₁₂ClN₄O (M+H)⁺: m/z=287.1; found 287.1.

Step 2: 2-bromo-N-(3-chloro-2-methylphenyl)pyrido[4,3-b]pyrazin-5-amine

In a vial, a mixture of5-(3-chloro-2-methylphenylamino)pyrido[4,3-b]pyrazin-2(1H)-one (200 mg,0.698 mmol), phosphorus (V) oxybromide (1000 mg, 3.49 mmol), and MeCN(6.0 mL) was stirred at 80° C. for 4 hours. The mixture was cooled tort, quenched with sat. NaHCO₃, diluted with ethyl acetate and the layerswere separated. The aqueous layer was further extracted with ethylacetate, and the combined organic layers were washed with brine, driedover MgSO₄, and filtered. The filtrate was concentrated in vacuo and thecrude residue was purified by silica gel chromatography (20%EtOAc/hexanes) to provide the desired compound as a brown oil. LC-MScalculated for C₁₄H₁₁ClBrN₄ (M+H)⁺: m/z=349.0; found 349.0.

Step 3: N-(3-chloro-2-methylphenyl)-2-vinylpyrido[4,3-b]pyrazin-5-amine

In a vial, a mixture of2-bromo-N-(3-chloro-2-methylphenyl)pyrido[4,3-b]pyrazin-5-amine (30 mg,0.086 mmol), 4,4,5,5-tetramethyl-2-vinyl-1,3,2-dioxaborolane (Aldrich,cat#663348: 29.1 μL, 0.172 mmol), sodium carbonate (27.3 mg, 0.257mmol), palladiumtetrakis (9.92 mg, 8.58 μmol) and 1,4-dioxane (2.0 mL)was stirred at 90° C. for 2 hours. The mixture was cooled to rt, dilutedwith ethyl acetate and washed with water and brine, dried over MgSO₄,and filtered. The filtrate was concentrated in vacuo and the cruderesidue was purified by silica gel chromatography (20% EtOAc/hexanes) toprovide the desired compound as a brown oil. LC-MS calculated forC₁₆H₁₄ClN₄ (M+H)⁺: m/z=297.1; found 297.1.

Step 4:5-(3-chloro-2-methylphenylamino)pyrido[4,3-b]pyrazine-2-carbaldehyde

A 10 mL vial was charged withN-(3-chloro-2-methylphenyl)-2-vinylpyrido[4,3-b]pyrazin-5-amine (25.6mg, 0.086 mmol) 1,4-dioxane (2 mL) and water (2 mL). A 4% osmiumtetroxide solution in water (38.2 μL, 6.01 μmol) was added to thereaction mixture. After 5 min, sodium periodate (147 mg, 0.686 mmol) wasadded. The reaction was stirred at rt for 2 hours before being quenchedwith sat. NaHCO₃. The resulting mixture was extracted with DCM, and thecombined organic layers were washed with water and brine, dried overMgSO₄, and filtered. The filtrate was concentrated in vacuo and thecrude residue was used directly in next step without furtherpurification. LC-MS calculated for C₁₅H₁₂ClN₄O (M+H)⁺: m/z=299.1; found299.1.

Step 5:(R)-1-((5-(3-chloro-2-methylphenylamino)pyrido[4,3-b]pyrazin-2-yl)methyl)pyrrolidine-3-carboxylicacid

A 10 mL vial was charged with5-(3-chloro-2-methylphenylamino)pyrido[4,3-b]pyrazine-2-carbaldehyde(10.0 mg, 0.033 mmol), (R)-pyrrolidine-3-carboxylic acid (Combi-Blocks,cat#ST-7698: 5.8 mg, 0.050 mmol) and DCM (1 mL). Triethylamine (9.3 μl,0.067 mmol) and sodium triacetoxyborohydride (14.2 mg, 0.067 mmol) wereadded subsequently. The resulting reaction mixture was stirred at rtovernight before being quenched with sat. NaHCO₃. The resulting mixturewas extracted with a 3:1 DCM/IPA mixture, and the combined organiclayers were washed with water and brine, dried over MgSO₄, and filtered.The filtrate was concentrated in vacuo and the crude residue was useddirectly in next step without further purification. LC-MS calculated forC₂₀H₂₁ClN₅O₂ (M+H)⁺: m/z=398.1; found 398.1.

Step 6:(R)-1-((5-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)pyrido[4,3-b]pyrazin-2-yl)methyl)pyrrolidine-3-carboxylicacid

A mixture of(R)-1-((5-(3-chloro-2-methylphenylamino)pyrido[4,3-b]pyrazin-2-yl)methyl)pyrrolidine-3-carboxylicacid (10.0 mg, 0.025 mmol),(R)-1-((8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Example 37, step 9: 23.14 mg, 0.050 mmol), XPhos Pd G2 (2.0 mg, 2.51μmol), and sodium carbonate (5.3 mg, 0.050 mmol) in 1,4-dioxane (1 mL)and water (0.2 mL) was degassed and sealed. It was stirred at 90° C.overnight. The reaction mixture was cooled then diluted with methanol,then purified with prep-LC-MS (pH=2, acetonitrile/water+TFA) to give thedesired product as its TFA salt. LC-MS calculated for C₄₀H₄₂N₉O₃ (M+H)⁺:m/z=696.3; found 696.3.

Example 71(3R)-1-((8-(2,2′-dimethyl-3′-(3-(pyrrolidin-2-yl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1: tert-butyl4-(8-chloro-1,7-naphthyridin-3-yl)-4-oxobutylcarbamate

To a solution of 3-bromo-8-chloro-1,7-naphthyridine (PharmaBlock,cat#PBLJ2743: 100.2 mg, 0.411 mmol) in THF (10 mL) was addedn-butyllithium (1.6 M, 0.26 mL, 0.411 mmol) dropwise at −78° C. Afterstirring at this temperature for 1 hour, tert-butyl2-oxopyrrolidine-1-carboxylate (0.14 mL, 0.821 mmol) was added. Thereaction was further stirred at −78° C. for 2 hours. After completion,the reaction mixture was quenched by adding sat. NH₄Cl, which was thenextracted with EtOAc. The combined organic layers were washed with waterand brine, dried over MgSO₄, and filtered. The filtrate was concentratedin vacuo and the crude residue was purified by silica gel chromatography(80% EtOAc/hexanes) to provide the desired compound as a brown oil.LC-MS calculated for C₁₇H₂₁ClN₃O₃ (M+H)⁺: m/z=350.1; found 350.1.

Step 2: tert-butyl2-(8-(3-bromo-2-methylphenylamino)-1,7-naphthyridin-3-yl)pyrrolidine-1-carboxylate

In a vial was combined 3-bromo-2-methylaniline (Aldrich, cat#530018:51.1 mg, 0.274 mmol), tert-butyl(4-(8-chloro-1,7-naphthyridin-3-yl)-4-oxobutyl)carbamate (80.0 mg, 0.229mmol), isopropanol (2.0 mL), and sulfuric acid (13.4 μl, 0.252 mmol).The vial was sealed, then the reaction was heated to 100° C. for 1 hour.The mixture was cooled to rt, quenched with solid NaHCO₃, diluted withethyl acetate and filtered. The filtrate was concentrated in vacuo andthe crude residue was dissolved in DCM (2.0 mL). Triethylamine (63.8 μl,0.457 mmol) and sodium triacetoxyborohydride (72.7 mg, 0.343 mmol) wereadded to the above solution. The reaction was stirred at rt overnightbefore being quenched with sat. NaHCO₃. The resulting mixture wasextracted with 3:1 DCM/IPA mixture, and the combined organic layers werewashed with water and brine, dried over MgSO₄, and filtered. Thefiltrate was concentrated in vacuo and the crude residue was dissolvedin dry DCM (4.0 mL) followed by addition of triethylamine (0.064 mL,0.458 mmol) and Boc-anhydride (0.10 g, 0.458 mmol). The reaction mixturewas stirred at rt for 2 hours before being quenched with sat. NaHCO₃.The resulting mixture was extracted with DCM, and the combined organiclayers were washed with water and brine, dried over MgSO₄, and filtered.The filtrate was concentrated in vacuo and the residue was purified bysilica gel chromatography (50% EtOAc/hexanes) to provide the desiredcompound as a yellow oil. LC-MS calculated for C₂₄H₂₈BrN₄O₂ (M+H)⁺:m/z=483.1; found 483.1.

Step 3: tert-butyl2-(8-(3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)pyrrolidine-1-carboxylate

A mixture of tert-butyl2-(8-(3-bromo-2-methylphenylamino)-1,7-naphthyridin-3-yl)pyrrolidine-1-carboxylate(200 mg, 0.414 mmol),(8-(2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenylamino)-1,7-naphthyridin-3-yl)methanol(Example 20, step 3 23.1 mg, 0.050 mmol),tetrakis(triphenylphosphine)palladium(O) (47.8 mg, 0.041 mmol), andsodium carbonate (88 mg, 0.827 mmol) in 1,4-dioxane (10 mL) and water (2mL) was degassed and sealed. It was stirred at 100° C. overnight. Thereaction mixture was cooled and then diluted with EtOAc. The organiclayer was washed with water and brine, dried over MgSO₄, and filtered.The filtrate was concentrated in vacuo and the crude residue waspurified by silica gel chromatography (90% EtOAc/hexanes) to provide thedesired compound as a brown oil. LC-MS calculated for C₄₀H₄₂N₇O₃ (M+H)⁺:m/z=668.3; found 668.3.

Step 4: tert-butyl2-(8-(3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)pyrrolidine-1-carboxylate

To a stirred solution of tert-butyl2-(8-(3′-(3-(hydroxymethyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)pyrrolidine-1-carboxylate(276 mg, 0.414 mmol) in DCM (10.0 mL) was added manganese dioxide (719mg, 8.27 mmol). The resulted mixture was stirred at 45° C. for 2 hours,then filtered. The filtrate was concentrated under reduced pressure. Theresidue was used in the next step directly without further purification.LC-MS calculated for C₄₀H₄₀N₇O₃ (M+H)⁺: m/z=666.3; found 666.3.

Step 5:(3R)-1-((8-(2,2′-dimethyl-3′-(3-(pyrrolidin-2-yl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a solution of tert-butyl2-(8-(3′-(3-formyl-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)pyrrolidine-1-carboxylate(20 mg, 0.030 mmol) in DCM (1 mL) was added (R)-pyrrolidine-3-carboxylicacid (Combi-Blocks, cat#ST-7698: 3.5 mg, 0.030 mmol) and triethylamine(8.4 μl, 0.060 mmol). The mixture was stirred at rt for 60 min, thensodium triacetoxyborohydride (9.6 mg, 0.045 mmol) was added. Theresulting mixture was stirred at rt overnight before 1 mL of TFA wasadded. The reaction mixture was further stirred for 1 h. The reactionmixture was concentrated then purified with prep-LC-MS (pH 2,acetonitrile/water+TFA) to give the desired product as its TFA salt.LC-MS calculated for C₄₀H₄₁N₈O₂ (M+H)⁺: m/z=665.3; found 665.3.

Example 72(R)-1-((8-(2,2′-dichloro-3′-(3-((2-hydroxyethylamino)methyl)imidazo[1,2-a]pyrazin-8-ylamino)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

Step 1:(R)-1-((8-(3′-amino-2,2′-dichlorobiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

In a vial was combined2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline (Example5, step 1: 0.474 g, 1.870 mmol),(R)-1-((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Example 22, step 4: 0.676 g, 1.559 mmol), sodium carbonate (0.330 g,3.12 mmol),(1,1′-bis(di-cyclohexylphosphino)ferrocene)-dichloropalladium(II)(Aldrich, cat#701998: 0.023 g, 0.031 mmol), 1,4-dioxane (2.92 mL) andwater (0.974 mL). The mixture was degassed, sealed, and heated to 90° C.whilst stirring for 2 h. The mixture was cooled, diluted with EtOAc andfiltered through celite. The filtrate was concentrated and purifiedusing flash chromatography (0→15% MeOH/DCM). LC-MS calculated forC₂₅H₂₄Cl₂N₅O (M+H)⁺: m/z=480.1; found 480.2.

Step 2:(R)-1-((8-(3′-(3-bromoimidazo[1,2-a]pyrazin-8-ylamino)-2,2′-dichlorobiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

In a vial was combined(R)-1-((8-((3′-amino-2,2′-dichloro-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(497 mg, 1.035 mmol) and 3-bromo-8-chloroimidazo[1,2-a]pyrazine(Combi-Blocks, cat# QA-2223: 361 mg, 1.552 mmol). The reactants werediluted with 2-propanol (5173 μl). To this was then added sulfuric acid(83 μl, 1.552 mmol) drop-wise. The reaction mixture was heated to 100°C. overnight. The solvent was removed under reduced pressure. The cruderesidue was taken back up in a 3:1 chloroform/IPA mixture and wasneutralized with a saturated solution of sodium bicarbonate. The aqueouslayer was extracted once more with 3:1 chloroform/IPA. The combinedorganic layers were washed with brine, dried over magnesium sulfate andfiltered. The filtrate was concentrated and purified using flashchromatography (0→40% MeOH/DCM). LC-MS calculated for C₃₁H26BrCl₂N₈O(M+H)⁺: m/z=675.1; found 675.1.

Step 3:(R)-1-((8-(2,2′-dichloro-3′-(3-vinylimidazo[1,2-a]pyrazin-8-ylamino)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

A mixture of(R)-1-((8-((3′-((3-bromoimidazo[1,2-a]pyrazin-8-yl)amino)-2,2′-dichloro-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(458 mg, 0.677 mmol), 4,4,5,5-tetramethyl-2-vinyl-1,3,2-dioxaborolane(Sigma-Aldrich, cat#633348: 126 μl, 0.745 mmol), sodium carbonate (2.031mmol) and[1,1′-bis(di-cyclohexylphosphino)ferrocene]dichloropalladium(II)(Aldrich, cat#701998: 25.7 mg, 0.034 mmol) in 1,4-dioxane (3224 μL) andwater (1290 μL) was degassed and sealed. It was stirred at 90° C. for1.5 h. The crude reaction mixture was diluted with water and extractedwith ethyl acetate. The combined organic layers were washed with brine,dried over magnesium sulfate and filtered. The filtrate was concentratedunder reduced pressure and used without further purification. LC-MScalculated for C₃₃H₂₉Cl₂N₈O (M+H)⁺: m/z=623.2; found 623.4.

Step 4:(R)-8-(2,2′-dichloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylamino)imidazo[1,2-a]pyrazine-3-carbaldehyde

In a vial was combined(R)-1-((8-((2,2′-dichloro-3′-((3-vinylimidazo[1,2-a]pyrazin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(200 mg, 0.321 mmol) and THF (2053 μl). The material was sonicated untilit was fully in solution. To this, in order, was then added water (513μl), 2,6-lutidine (191 μl, 1.636 mmol), sodium periodate (343 mg, 1.604mmol) and potassium osmate dihydrate (17.73 mg, 0.048 mmol). Thereaction was allowed to stir at rt for 30 min. The reaction was dilutedwith water and was extracted with ethyl acetate. The combined organiclayers were washed with brine, dried over magnesium sulfate, and wasfiltered. The filtrate was concentrated and purified using flashchromatography (0→40% MeOH/DCM). LC-MS calculated for C₃₂H₂₇Cl₂N₈O₂(M+H)⁺: m/z=625.2; found 625.2.

Step 5:(R)-1-((8-(2,2′-dichloro-3′-(3-((2-hydroxyethylamino)methyl)imidazo[1,2-a]pyrazin-8-ylamino)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

In a vial(R)-8-((2,2′-dichloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)imidazo[1,2-a]pyrazine-3-carbaldehyde(10 mg, 0.016 mmol) was combined with ethanolamine (9.67 μl, 0.160 mmol)and was diluted with methanol (160 μl). To this was then added aceticacid (13.73 μl, 0.240 mmol) followed by sodium cyanoborohydride (2.009mg, 0.032 mmol) as a solution in methanol (160 μl). The reaction wasallowed to stir at room temperature for 15 minutes after which time thereaction mixture was further diluted to a final volume of 5 mL withmethanol and purified by prep HPLC (pH=2, acetonitrile/water+TFA) toprovide the desired compound as the TFA salt. LC-MS calculated forC₃₄H₃₄Cl₂N₉O₂ (M+H)⁺: m/z=670.2; found 670.5.

Example 73(R)-1-((8-((2,2′-dimethyl-3′-((3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 20 with pyrrolidine (Aldrich, cat#394238) replacing(R)-pyrrolidin-3-ol in Step 6. The reaction mixture was diluted withmethanol and purified by prep HPLC (pH=2, acetonitrile/water+TFA) toprovide the desired compound as its TFA salt. LC-MS calculated forC₄₀H₄₃N₈O (M+H)⁺: m/z=651.4; found 651.3.

Example 74(S)-1-((8-((2′-chloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

Step 1:(R)-1-((8-((2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was added(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol(Example 9, Step 3: 0.166 g, 0.424 mmol),(R)-1-((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Example 22, Step 4: 0.184 g, 0.424 mmol), 1 M aqueous sodium carbonate(0.848 mmol), tetrakis (0.049 g, 0.042 mmol), and 1,4-dioxane (3.74 mL).The mixture was degassed, sealed, and heated to 110° C. whilst stirringfor 4 h. The mixture was cooled, diluted with EtOAc and filtered throughcelite. The filtrate was concentrated and purified by silica gelchromatography (15% MeOH/DCM) to provide the desired product as a yellowsolid. LC-MS calculated for C₃₅H₃₃ClN₇O₂ (M+H)⁺: m/z=618.2; found 618.3.

Step 2:(R)-8-((2′-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde

This compound was prepared using similar procedures as described forExample 9 with(R)-1-((8-((2-chloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-olreplacing(R)-1-((8-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-olin Step 5. LC-MS calculated for C₃₅H₃₁ClN₇O₂ (M+H)⁺: m/z=616.2; found616.3.

Step 3:(S)-1-((8-((2′-chloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was added(R)-8-((2′-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde(0.015 g, 0.024 mmol), (S)-pyrrolidin-3-ol (Combi-Blocks, cat#SS-7948:6.4 mg, 0.073 mmol), a stir bar, and 1,2-dichloroethane (0.122 mL). Themixture was stirred for 5 min, then sodium triacetoxyborohydride (0.015g, 0.073 mmol) and acetic acid (0.011 mL, 0.195 mmol) were added. Themixture was stirred for 1 h, then was diluted with methanol and purifiedby prep HPLC (pH=2, acetonitrile/water+TFA) to provide the desiredcompound as its TFA salt. LC-MS calculated for C₃₉H₄₀ClN₈O₂ (M+H)⁺:m/z=687.3; found 687.4.

Example 75(R)-1-((8-((2′-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 74 with azetidine-3-carboxylic acid (Aldrich, cat#391131)replacing (S)-pyrrolidin-3-ol in Step 3. The reaction mixture wasdiluted with methanol and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₃₉H₃₈ClN₈O₃ (M+H)⁺: m/z=701.3; found 701.3.

Example 76(R)-1-((8-((2,2′-dichloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidin-3-ol

Step 1:(8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methanol

A flask was charged with8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 14, Step 6: 0.586 g, 1.625 mmol), methanol (6.7 mL), and a stirbar. The mixture was cooled to 0° C., and sodium borohydride (0.255 g,6.74 mmol) was added portionwise over 1 h. After the final addition, themixture was warmed to rt and stirred for 1 h. Another portion of sodiumborohydride (0.050 g, 1.349 mmol) was added and stirred for 30 min.Saturated aqueous sodium bicarbonate was added (5 mL), and the mixturewas diluted with DCM (10 mL). The layers were separated, and the aqueouslayer was further extracted with DCM (2×10 mL). The combined organicextracts were dried over MgSO₄, filtered, and concentrated in vacuo. Thecrude product was purified by silica gel chromatography (0→46%EtOAc/hexanes). LC-MS calculated for C₁₅H₁₂BrClN₃O (M+H)⁺: m/z=364.0;found 364.0.

Step 2:(8-((2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol

This compound was prepared using similar procedures as described forExample 9 with(8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methanolreplacing(8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methanol inStep 3. LC-MS calculated for C₂₁H₂₄BClN₃O₃ (M+H)⁺: m/z=412.2; found412.2.

Step 3:(R)-1-((8-((2,2′-dichloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 74 with(8-((2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanolreplacing(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanolin Step 1. LC-MS calculated for C₃₄H₃₀Cl₂N₇O₂ (M+H)⁺: m/z=638.2; found638.2.

Step 4:(R)-8-((2,2′-dichloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde

This compound was prepared using similar procedures as described forExample 9 with(R)-1-((8-((2,2′-dichloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-olreplacing(R)-1-((8-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-olin Step 5. LC-MS calculated for C₃₄H₂₈Cl₂N₇O₂ (M+H)⁺: m/z=636.2; found636.2.

Step 5:(R)-1-((8-((2,2′-dichloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidin-3-ol

To a vial was added(R)-8-((2,2′-dichloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde(0.0150 g, 0.024 mmol), (R)-3-methylpyrrolidin-3-ol (Ark Pharm,cat#AK100499: 7.15 mg, 0.071 mmol), a stir bar, and 1,2-dichloroethane(0.236 mL). The mixture was stirred for 5 min, then sodiumtriacetoxyborohydride (0.015 g, 0.071 mmol) and acetic acid (4.05 μl,0.071 mmol) were added. The reaction was stirred for 1 h, and themixture was diluted with methanol and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₃₉H₃₉Cl₂N₈O₂ (M+H)⁺: m/z=721.3; found 721.3.

Example 77(R)-1-((8-((2,2′-dichloro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

This compound was prepared using similar procedures as described forExample 76 with ethanolamine (Aldrich, cat#411000) replacing(R)-3-methylpyrrolidin-3-ol in Step 5. LC-MS calculated forC₃₆H₃₅Cl₂N₈O₂ (M+H)⁺: m/z=681.2; found 681.2.

Example 78(R)-1-((8-((2,2′-dichloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 76 with (R)-pyrrolidine-3-carboxylic acid (Combi-Blocks,cat#ST-7698) replacing (R)-3-methylpyrrolidin-3-ol in Step 5. LC-MScalculated for C₃₉H₃₇Cl₂N₈O₃ (M+H)⁺: m/z=735.2; found 735.2.

Example 79(R)-1-((8-((2-chloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step I:(R)-1-((8-((2′-chloro-2-methyl-3′-((3-vinyl-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was addedN-(3-bromo-2-chlorophenyl)-3-vinyl-1,7-naphthyridin-8-amine (Example 14,Step 5: 0.141 g, 0.391 mmol),(R)-1-((8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Example 37, Step 9: 0.150 g, 0.326 mmol), sodium carbonate (0.069 g,0.652 mmol), tetrakis (0.038 g, 0.033 mmol), 1,4-dioxane (2.444 mL), andwater (0.815 mL). The mixture was degassed, sealed, and heated to 110°C. whilst stirring for 4 h. The mixture was cooled, diluted with EtOAcand filtered through celite. The filtrate was concentrated and purifiedusing flash chromatography (0→15% MeOH/DCM). LC-MS calculated forC₃₆H₃₃ClN₇O (M+H)⁺: m/z=614.2; found 614.4.

Step 2:(R)-8-((2-chloro-3′-((3-((3-hydroxy)pyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde

To a vial was added(R)-1-((8-((2′-chloro-2-methyl-3′-((3-vinyl-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.108 g, 0.176 mmol), tetrahydrofuran (1.125 mL), water (0.281 mL),2,6-lutidine (0.107 mL, 0.914 mmol), sodium periodate (0.188 g, 0.879mmol), then potassium osmate dihydrate (9.72 mg, 0.026 mmol). Themixture was stirred for 30 min at rt. The mixture was diluted with 3:1CHCl₃/IPA (5 mL) and water (2 mL), and the layers were separated. Theaqueous layer was further extracted with 3:1 CHCl₃/IPA, dried overMgSO₄, filtered and concentrated under reduced pressure. The solid wasslurried with 5:1 Et₂O/DCM, and filtered to provide the desired productas a beige solid. LC-MS calculated for C₃₅H₃₁ClN₇O₂ (M+H)⁺: m/z=616.2;found 616.2.

Step 3:(R)-1-((8-((2-chloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a vial was added(R)-8-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde(0.0350 g, 0.057 mmol), (R)-pyrrolidine-3-carboxylic acid (Combi-Blocks,cat#ST-7698: 0.020 g, 0.170 mmol), a stir bar, and 1,2-dichloroethane(0.568 mL). The mixture was stirred for 5 min, then sodiumtriacetoxyborohydride (0.036 g, 0.170 mmol) and acetic acid (0.020 mL,0.341 mmol) were added. The reaction was stirred for 1 h, and themixture was diluted with methanol and purified by prep HPLC (pH=2,acetonitrile/water+TFA) to provide the desired compound as its TFA salt.LC-MS calculated for C₄₀H₄₀ClN₈O₃ (M+H)⁺: m/z=715.3; found 715.3.

Example 80(R)-1-((8-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 79 with azetidine-3-carboxylic acid (Aldrich, cat#391131)replacing (R)-pyrrolidine-3-carboxylic acid in Step 3. LC-MS calculatedfor C₃₉H₃₈ClN₈O₃ (M+H)⁺: m/z=701.3; found 701.3.

Example 81(R)-3-(((8-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)amino)propanoicacid

This compound was prepared using similar procedures as described forExample 79 with 3-alanine (Aldrich, cat#146064) replacing(R)-pyrrolidine-3-carboxylic acid in Step 3. LC-MS calculated forC₃₈H₃₈ClN₈O₃ (M+H)⁺: m/z=689.3; found 689.3.

Example 82(R)-1-((8-((2,2′-dichloro-3′-((3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1:(S)-1-((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was added8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 14, Step 6: 0.200 g, 0.552 mmol), (S)-3-hydroxypyrrolidine(Combi-Blocks, cat#SS-7948: 0.144 g, 1.655 mmol), DCE (2.76 mL), and astir bar. The mixture was stirred at rt for 15 min, then sodiumcyanoborohydride (0.104 g, 1.655 mmol) and acetic acid (0.120 mL, 2.096mmol) were added. The mixture was stirred at rt for 1 h, then thereaction was quenched with aqueous saturated sodium bicarbonate (5 mL).3:1 CHCl₃/IPA was added (5 mL), and the layers were separated. Theaqueous layer was further extracted with 3:1 CHCl₃/IPA (2×5 mL), and thecombined organic layers were dried over MgSO₄, filtered, andconcentrated under reduced pressure. The resulting brown residue waspurified by silica gel chromatography (0→15% MeOH/DCM) to provide thedesired product as a brown solid. LC-MS calculated for C₁₉H₁₉BrClN₄O(M+H)⁺: m/z=433.0; found 433.2.

Step 2:(S)-1-((8-((2,2′-dichloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a vial was added(8-((2-chloro-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol(Example 76, Step 2: 0.163 g, 0.396 mmol),(S)-1-((8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(0.172 g, 0.396 mmol), 1 M aqueous sodium carbonate (0.792 mmol),tetrakis (0.046 g, 0.040 mmol), and 1,4-dioxane (2.97 mL). The mixturewas degassed, sealed, and heated to 110° C. whilst stirring for 4 h. Themixture was cooled, diluted with EtOAc and filtered through celite. Thefiltrate was concentrated and purified by silica gel chromatography (15%MeOH/DCM) to provide the desired product as a yellow solid. LC-MScalculated for C₃₄H₃₀Cl₂N₇O₂ (M+H)⁺: m/z=638.2; found 638.2.

Step 3:(S)-8-((2,2′-dichloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde

This compound was prepared using similar procedures as described forExample 9 with(S)-1-((8-((2,2′-dichloro-3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-olreplacing(R)-1-((8-((3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-olin Step 5. LC-MS calculated for C₃₄H₂₈Cl₂N₇O₂ (M+H)⁺: m/z=636.2; found636.2.

Step 4:(R)-1-((8-((2,2′-dichloro-3′-((3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a vial was added(S)-8-((2,2′-dichloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde(0.009 g, 0.014 mmol), (R)-pyrrolidine-3-carboxylic acid (Combi-Blocks,cat#ST-7698: 4.88 mg, 0.042 mmol), a stir bar, N,N-dimethylformamide(0.141 mL), and DIPEA (7.41 μl, 0.042 mmol). The mixture was stirred for5 min, then sodium cyanoborohydride (2.67 mg, 0.042 mmol) and was added.The reaction was stirred for 1 h, then the mixture was diluted withmethanol and purified by prep HPLC (pH=2, acetonitrile/water+TFA) toprovide the desired compound as its TFA salt. LC-MS calculated forC₃₉H₃₇Cl₂N₈O₃ (M+H)⁺: m/z=735.2; found 735.2.

Example 83(S)-1-((8-((2,2′-dichloro-3′-((3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 82 with (S)-pyrrolidine-3-carboxylic acid (Combi-Blocks,cat#ST-1381) replacing (R)-pyrrolidine-3-carboxylic acid in Step 4.LC-MS calculated for C₃₉H₃₇Cl₂N₈O₃ (M+H)⁺: m/z=735.2; found 735.2.

Example 84(R)-1-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrol[3,4-d]oxazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1:2-(dimethylamino)-1-(2-(3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)ethan-1-one

A mixture of1-(2-(3-bromo-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-(dimethylamino)ethan-1-one(Example 37, Step 7:112 mg, 0.307 mmol),(8-((2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)amino)-1,7-naphthyridin-3-yl)methanol(Example 9, Step 3: 120 mg, 0.307 μmmol),dicyclohexyl(2′,4′,6′-triisopropylbiphenyl-2-yl)phosphine-(2′-aminobiphenyl-2-yl)(chloro)palladium(1:1) (24.13 mg, 0.031 mmol) and tripotassium phosphate hydrate (155 mg,0.675 mmol) in 1,4-dioxane (3 mL)/water (1 mL) was stirred at 80° C. for1 h. The residue was dissolved in methanol and 1 N HCl and purified withprep-LCMS (pH 2, acetonitrile/water+TFA) to give the desired compound aslight yellow solid. LC-MS calculated for C₃₂H₃₃N₆O₃ (M+H)⁺: m/z=549.3;found 549.3.

Step 2:8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]oxazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehyde

This compound was prepared using similar procedures as described forExample 34, with2-(dimethylamino)-1-(2-(3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)ethan-1-onereplacing tert-butyl2-(3′-((3-(hydroxymethyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-6,7-dihydrothiazolo[5,4-c]pyridine-5(4H)-carboxylatein Step 2. LC-MS calculated for C₃₂H₃₁N₆O₃ (M+H)⁺: m/z=547.2; found547.3.

Step 3.(R)-1-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]oxazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using similar procedures as described forExample 31 with8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]oxazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridine-3-carbaldehydereplacingN-(2-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamidein Step 7. LC-MS calculated for C₃₇H₄₀N₇O₄ (M+H)⁺: m/z=646.3; found646.3.

Example 85(R)-1-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrol[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1: tert-butyl 2-bromo-4H-pyrrolo[3,4-d]thiazole-5(6H)-carboxylate

To a stirred solution of 2-bromo-5,6-dihydro-4H-pyrrolo[3,4-d]thiazole,HBr salt (Aurum Pharm, cat# MR22320: 220.0 mg, 0.769 mmol) andN,N-diisopropylethylamine (0.269 mL, 1.539 mmol) in DCM (5.0 mL),Boc-anhydride (201 mg, 0.923 mmol) was added at room temperature. After1 hour, the reaction mixture was diluted with EtOAc (100 mL), and washedwith water (3×15 mL). The organic layer was dried over Na₂SO₄, filteredand the filtrate was concentrated to afford crude tert-butyl2-bromo-4H-pyrrolo[3,4-d]thiazole-5(6H)-carboxylate (220 mg, 0.724 mmol,93.6% yield), which was used directly in the next step without furtherpurification. LC-MS calculated for C₁₀H₁₄BrN₂O₂S (M+H)+:m/z=305.0/307.0; found 305.0/307.0.

Step 2: tert-butyl2-(3-chloro-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate

(3-Chloro-2-methylphenyl)boronic acid (344 mg, 2.02 mmol) (Combi-blocks,cat#BB-2035), tert-butyl2-bromo-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate (616 mg,2.02 mmol), sodium carbonate (428 mg, 4.04 mmol) in 1,4-dioxane (8 mL)and water (2 mL) was added palladiumtetrakis (233 mg, 0.202 mmol). Theresulting mixture was purged with N₂, then heated at 100° C. After 3 h,the reaction was concentrated, and diluted with DCM. The crude productwas added to a silica gel column and was eluted with ethylacetate/hexane from 0% to 40% to give tert-butyl2-(3-chloro-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate(541 mg, 76% yield). LC-MS calculated for C₁₇H₂₀ClN₂O₂S (M+H)⁺:m/z=351.1; found 351.0.

Step 3: tert-butyl2-(2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate

A mixture of tert-butyl2-(3-chloro-2-methylphenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate(261 mg, 0.715 mmol),4,4,5,5,4′,4′,5′,5′-octamethyl-[2,2′]bi[[1,3,2]dioxaborolanyl] (Aldrich,cat#473294: 545 mg, 2.14 mmol), palladium acetate (6.42 mg, 0.0286mmol), K₃PO₄ (455 mg, 2.14 mmol) and2-(dicyclohexylphosphino)-2′,6′-dimethoxy-1,1′-biphenyl (StremChemicals, cat#15-1143: 29.4 mg, 0.0715 mmol) in 1,4-dioxane wasdegassed and stirred at rt for 16 h. The mixture was diluted with DCM,and washed with water. The organic layer was concentrated in vacuo andpurified by silica-gel chromatography (5% EtOAc/DCM). LC-MS calculatedfor C₂₃H₃₂BN₂O₄S (M+H)⁺: m/z=443.2; found 443.3.

Step 4: tert-butyl2-(3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate

To a vial was added tert-butyl2-(2-methyl-3-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)phenyl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate(0.013 g, 0.029 mmol),8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 15, Step 2: 7 mg, 0.020 mmol), sodium carbonate (6.24 mg, 0.059mmol), [1,1′-bis(diphenylphosphino)ferrocene]dichloropalladium(II)(1.436 mg, 1.962 μmol), 1,4-dioxane (0.346 mL), and water (0.046 mL).The mixture was degassed, sealed, and heated to 90° C. whilst stirringfor 4 h. After cooling, the mixture was diluted with DCM and water. Thelayers were separated and the aqueous layer was further extracted. Thecombined organic layers were dried over magnesium sulfate, filtered,concentrated in vacuo, and purified by silica gel chromatography(MeOH/DCM). LC-MS calculated for C₃₃H₃₂N₅O₃S (M+H)⁺: m/z=578.2; found578.4.

Step 5:(R)-1-((8-((3′-(5-(tert-butoxycarbonyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a vial was added tert-butyl2-(3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate(9 mg, 0.02 mmol), (R)-pyrrolidine-3-carboxylic acid (Combi-Blocks,cat#ST-7698: 0.017 g, 0.152 mmol), dichloromethane (0.829 mL) andtriethylamine (0.016 mL, 0.115 mmol). The reaction was stirred at rt for2 h, then sodium triacetoxyborohydride (0.054 g, 0.253 mmol) and aceticacid (8.7 μl, 0.15 mmol) were added. The reaction was stirred at rt for2 h, then quenched with a saturated aqueous solution of sodiumbicarbonate. The mixture was then extracted with a 3:1 mixture ofchloroform/isopropanol. The combined organic layers were dried oversodium sulfate, then concentrated in vacuo to provide the desiredcompound. LC-MS calculated for C₃₈H₄₁N₆O₄S (M+H)⁺: m/z=677.3; found677.2.

Step 6:(R)-1-((8-((3′-(5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

To a solution of(R)-1-((8-((3′-(5-(tert-butoxycarbonyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid (7 mg, 0.02 mmol) in DCM (0.5 mL) was added TFA (0.2 mL). After 2h, the reaction mixture was concentrated, and then the crude product wasused directly in the next step. LC-MS calculated for C₃₃H₃₃N₆O₂S (M+H)⁺:m/z=577.2; found 577.3.

Step 7:(R)-1-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

In a 1 dram vial(R)-1-((8-((3′-(5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid (6 mg, 0.02 mmol) and N,N-Dimethylglycine (6 mg, 0.06 mmol) weredissolved in DMF (0.2 mL). DIPEA (14 μl, 0.08 mmol) and HATU (18 mg,0.05 mmol) were added to the reaction mixture in one portion. After 5 h,the reaction mixture was diluted with MeOH then purified by prep-HPLC(pH=10, acetonitrile/water+NH₄OH) to give the desired product. LC-MScalculated for C₃₇H₄₀N₇O₃S (M+H)⁺: m/z=662.3; found 662.2. ¹H NMR (600MHz, DMSO-d₆) δ 9.30 (s, 1H), 8.85 (d, J=2.0 Hz, 1H), 8.43 (d, J=8.1 Hz,1H), 8.17 (d, J=1.7 Hz, 1H), 8.05 (d, J=5.8 Hz, 1H), 7.66 (d, J=7.8 Hz,1H), 7.42 (td, J=7.6, 2.4 Hz, 1H), 7.32 (t, J=7.8 Hz, 1H), 7.28 (d,J=7.7 Hz, 1H), 7.17 (d, J=5.8 Hz, 1H), 6.89 (d, J=7.5 Hz, 1H), 5.06-4.96(m, 1H), 4.88 (t, J=2.8 Hz, 1H), 4.77-4.68 (m, 1H), 4.63-4.54 (m, 1H),3.81 (q, J=13.8 Hz, 2H), 3.16 (d, J=1.9 Hz, 2H), 2.97-2.85 (m, 1H), 2.75(t, J=8.7 Hz, 1H), 2.66 (dd, J=9.1, 6.5 Hz, 1H), 2.61-2.52 (m, 2H), 2.25(s, 6H), 2.21 (s, 3H), 2.08 (s, 3H), 1.96 (q, J=7.2 Hz, 2H).

Example 862-((R)-3-hydroxypyrrolidin-1-yl)-1-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazol-5-yl)ethan-1-one

Step 1: tert-butyl(R)-2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate

This compound was prepared using a similar procedure as described forExample 85, Step 4 with(R)-1-((8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol(Example 20, Step 2) replacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde. Thecrude compound was diluted with DCM and water. The layers were separatedand the aqueous layer was further extracted. The combined organic layerswere dried over magnesium sulfate, filtered, and concentrated in vacuo.LC-MS calculated for C₃₇H₄₁N₆O₃S (M+H)⁺: m/z=649.3; found 649.2.

Step 2:(R)-1-((8-((3′-(5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol

To a solution of tert-butyl(R)-2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate(147 mg, 0.226 mmol) in DCM (3 mL) was added TFA (1 mL). After 2 h, thereaction mixture was concentrated, and then the crude product was useddirectly in the next step. LC-MS calculated for C₃₂H₃₃N60S (M+H)⁺:m/z=549.2; found 549.3.

Step 3:(R)-2-chloro-1-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazol-5-yl)ethan-1-one

To a solution of the above crude product and DIPEA (118 uL, 0.678 mmol)in DCM (3 mL) was added chloroacetyl chloride (20 uL, 0.25 mmol) at −78°C. After 15 min, the reaction mixture was warmed to room temperatureslowly. After 30 min, the reaction mixture was concentrated and dilutedwith MeOH then purified by prep-HPLC (pH=2, acetonitrile/water+TFA) togive the desired product as the TFA salt. LC-MS calculated forC₃₄H₃₄ClN₆O₂S (M+H)⁺: m/z=625.2; found 625.2.

Step 4:2-((R)-3-hydroxypyrrolidin-1-yl)-1-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazol-5-yl)ethan-1-one

In a 1 dram vial(R)-2-chloro-1-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazol-5-yl)ethan-1-one(5 mg, 8.00 μmol) was dissolved in acetonitrile (400 μL) to give ayellow solution. (R)-pyrrolidin-3-ol (Combi-Blocks, cat#AM-2005: 5 mg)and DIPEA (1.5 μl, 8.0 μmol) were added to the reaction mixture. Thereaction mixture was heated to 60° C. After 12 h, the reaction mixturewas diluted with MeOH then purified by prep-HPLC (pH=2,acetonitrile/water+TFA) to give the desired product as the TFA salt.LC-MS calculated for C₃₈H₄₂N₇O₃S (M+H)⁺: m/z=676.3; found 676.3.

Example 87(R)-1-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid

This compound was prepared using a similar procedure as described forExample 85, Step 5 with (R)-3-methylpyrrolidine-3-carboxylic acid (J&WPharmLab, cat#75R0495) replacing (R)-pyrrolidine-3-carboxylic acid.LC-MS calculated for C₃₈H₄₂N₇O₃S (M+H)⁺: m/z=676.3; found 676.3.

Example 881-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid

This compound was prepared using a similar procedure as described forExample 85, Step 5 with azetidine-3-carboxylic acid (Aldrich,cat#391131) replacing (R)-pyrrolidine-3-carboxylic acid. LC-MScalculated for C₃₆H₃₈N₇O₃S (M+H)⁺: m/z=648.3; found 648.3.

Example 89(R)-1-((8-((2-chloro-3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1: tert-butyl2-(2′-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate

This compound was prepared using a similar procedure as described forExample 85, Step 4 with8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 14, Step 6) replacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde. Thecrude compound was diluted with DCM and water. The layers were separatedand the aqueous layer was further extracted. The combined organic layerswere dried over magnesium sulfate, filtered, and concentrated in vacuo.LC-MS calculated for C₃₂H₂₉ClN₅O₃S (M+H)⁺: m/z=598.2; found 598.3.

Step 2:(R)-1-((8-((2-chloro-3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using a similar procedure as described forExample 85, Steps 5-7 with tert-butyl2-(2′-chloro-3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylatereplacing tert-butyl2-(3′-((3-formyl-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazole-5-carboxylate.LC-MS calculated for C₃₆H₃₇ClN₇O₃S (M+H)⁺: m/z=682.2; found 682.3.

Example 90(R)-1-((8-((2-chloro-3′-(5-(N-ethyl-N-methylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using a similar procedure as described forExample 85 with8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 14, Step 6) replacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde inStep 4 and N-ethyl-N-methylglycine replacing N,N-dimethylglycine in Step7. LC-MS calculated for C₃₇H₃₉ClN₇O₃S (M+H)⁺: m/z=696.2; found 696.3.

Example 91(R)-2-(1-((8-((2-chloro-3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-yl)aceticacid

This compound was prepared using a similar procedure as described forExample 85 with8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 14, Step 6) replacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde inStep 4 and (R)-2-(pyrrolidin-3-yl)acetic acid (Combi-Blocks, cat#QE6116)replacing (R)-pyrrolidine-3-carboxylic acid in Step 5. LC-MS calculatedfor C₃₇H₃₉ClN₇O₃S (M+H)⁺: m/z=696.2; found 696.3.

Example 922-((8-((2-chloro-3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)-2-azabicyclo[2.2.1]heptane-5-carboxylicacid

This compound was prepared using a similar procedure as described forExample 85 with8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 14, Step 6) replacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde inStep 4 and 2-azabicyclo[2.2.1]heptane-5-carboxylic acid (Aurora FineChemicals, cat#A30.309.242) replacing (R)-pyrrolidine-3-carboxylic acidin Step 5. LC-MS calculated for C₃₈H₃₉ClN₇O₃S (M+H)⁺: m/z=708.2; found708.3.

Example 93(R)-2-(1-((8-(2-chloro-3′-(5-(2-(ethyl(methyl)amino)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-yl)aceticacid

This compound was prepared using a similar procedure as described forExample 85 with8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 14, Step 6) replacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde inStep 4, (R)-2-(pyrrolidin-3-yl)acetic acid (Combi-Blocks, cat#QE6116)replacing (R)-pyrrolidine-3-carboxylic acid in Step 5 andN-ethyl-N-methylglycine replacing N,N-dimethylglycine in Step 7. LC-MScalculated for C₃₈H₄₁ClN₇O₃S (M+H)⁺: m/z=710.3; found 710.3.

Example 942-((8-(2-chloro-3′-(5-(2-(ethyl(methyl)amino)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-2-azabicyclo[2.2.1]heptane-5-carboxylicacid

This compound was prepared using a similar procedure as described forExample 85 with8-((3-bromo-2-chlorophenyl)amino)-1,7-naphthyridine-3-carbaldehyde(Example 14, Step 6) replacing8-((3-bromo-2-methylphenyl)amino)-1,7-naphthyridine-3-carbaldehyde inStep 4,2-azabicyclo[2.2.1]heptane-5-carboxylic acid (Aurora FineChemicals, cat#A30.309.242) replacing (R)-pyrrolidine-3-carboxylic acidin Step 5 and N-ethyl-N-methylglycine replacing N,N-dimethylglycine inStep 7. LC-MS calculated for C₃₉H₄₁ClN₇O₃S (M+H)⁺: m/z=722.3; found722.3.

Example 95(R)-1-((8-((2-chloro-3′-(5-(2-((R)-3-hydroxypyrrolidin-1-yl)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

Step 1:(R)-1-((8-((2-chloro-3′-(5-(2-chloroacetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using a similar procedure as described forExample 90 with chloracetyl acid replacing N-ethyl-N-methylglycine. Thereaction mixture was diluted with MeOH then purified by prep-HPLC (pH=2,acetonitrile/water+TFA) to give the desired product as the TFA salt.LC-MS calculated for C₃₄H₃₁Cl₂N₆O₃S (M+H)⁺: m/z=673.2; found 673.3.

Step 2:(R)-1-((8-((2-chloro-3′-(5-(2-((R)-3-hydroxypyrrolidin-1-yl)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

In a 1 dram vial(R)-1-((8-((2-chloro-3′-(5-(2-chloroacetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid (5 mg, 8.00 μmol) was dissolved in acetonitrile (400 μL) to give ayellow solution. (R)-pyrrolidin-3-ol (Combi-Blocks, cat#AM-2005: 5 mg)and DIPEA (1.5 μl, 8.0 μmol) were added to the reaction mixture. Thereaction mixture was heated to 60° C. After 12 h, the reaction mixturewas diluted with MeOH then purified by prep-HPLC (pH=2,acetonitrile/water+TFA) to give the desired product as the TFA salt.LC-MS calculated for C₃₈H₃₉ClN₇O₄S (M+H)⁺: m/z=724.3; found 724.2.

Example 96(R)-1-((8-((2-chloro-3′-(5-(N-(2-hydroxyethyl)-N-methylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using a similar procedure as described forExample 95 with N-(2-hydroxyethyl)-N-methylamine replacing(R)-pyrrolidin-3-ol in Step 2. LC-MS calculated for C₃₇H₃₉ClN₇O₄S(M+H)⁺: m/z=712.3; found 712.3.

Example 97(R)-1-((8-((2-chloro-3′-(5-(2-((S)-3-hydroxypyrrolidin-1-yl)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using a similar procedure as described forExample 95 with (S)-pyrrolidin-3-ol (Combi-Blocks, cat#SS-7948)replacing (R)-pyrrolidin-3-ol in Step 2. LC-MS calculated forC₃₈H₃₉ClN₇O₄S (M+H)⁺: m/z=724.3; found 724.3.

Example 98(R)-1-((8-((2-chloro-3′-(5-(2-(3-hydroxyazetidin-1-yl)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid

This compound was prepared using a similar procedure as described forExample 95 with 3-hydroxyazetidine hydrochloride (Ark Pharm,cat#AK-25536) replacing (R)-pyrrolidin-3-ol in Step 2. LC-MS calculatedfor C₃₇H₃₇ClN₇O₄S (M+H)⁺: m/z=710.3; found 710.3.

Example 99Cis-4-((2-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid

This compound was prepared using a similar procedure as described forExample 48 with(R)—N-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide(Example 62, Step 2) replacing(R)—N-(2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide.The reaction mixture was purified by prep HPLC (pH=2,acetonitrile/water+TFA) to give the desired compound as its TFA salt.LC-MS calculated for C₄₃H₅₁N₈O₄ (M+H)⁺: m/z=743.4; found 743.4.

Example A. PD-1/PD-L1 Homogeneous Time-Resolved Fluorescence (HTRF)Binding Assay

The assays were conducted in a standard black 384-well polystyrene platewith a final volume of 20 μL. Inhibitors were first serially diluted inDMSO and then added to the plate wells before the addition of otherreaction components. The final concentration of DMSO in the assay was1%. The assays were carried out at 25° C. in the PBS buffer (pH 7.4)with 0.05% Tween-20 and 0.1% BSA. Recombinant human PD-L1 protein(19-238) with a His-tag at the C-terminus was purchased fromAcroBiosystems (PD1-H5229). Recombinant human PD-1 protein (25-167) withFc tag at the C-terminus was also purchased from AcroBiosystems(PD1-H5257). PD-L1 and PD-1 proteins were diluted in the assay bufferand 10 μL was added to the plate well. Plates were centrifuged andproteins were preincubated with inhibitors for 40 minutes. Theincubation was followed by the addition of 10 μL of HTRF detectionbuffer supplemented with Europium cryptate-labeled anti-human IgG(PerkinElmer-AD0212) specific for Fc and anti-His antibody conjugated toSureLight®-Allophycocyanin (APC, PerkinElmer-AD0059H). Aftercentrifugation, the plate was incubated at 25° C. for 60 min. beforereading on a PHERAstar FS plate reader (665 nm/620 nm ratio). Finalconcentrations in the assay were −3 nM PD1, 10 nM PD-L1, 1 nM europiumanti-human IgG and 20 nM anti-His-Allophycocyanin. IC₅₀ determinationwas performed by fitting the curve of percent control activity versusthe log of the inhibitor concentration using the GraphPad Prism 5.0software.

Compounds of the present disclosure, as exemplified in the Examples,showed IC₅₀ values in the following ranges: +=IC₅₀≤10 nM; ++=10nM<IC₅₀≤100 nM; +++=100 nM<IC₅₀≤1000 nM.

Data obtained for the Example compounds using the PD-1/PD-L1 homogenoustime-resolved fluorescence (HTRF) binding assay described in Example Ais provided in Table 1.

TABLE 1 Example PD-1/PD-L1 HTRF IC₅₀ (nM) 1 + 2 + 3 + 4 + 5 + 6 + 7 +8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 +23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 +37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 +51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62-peak1 +62-peak2 + 63 + 64-peak1 + 64-peak2 + 65 + 66 + 67 + 68-peak1 +68-peak2 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 +81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 ++ 94 +95 + 96 + 97 + 98 + 99 +

Various modifications of the invention, in addition to those describedherein, will be apparent to those skilled in the art from the foregoingdescription. Such modifications are also intended to fall within thescope of the appended claims. Each reference, including withoutlimitation all patent, patent applications, and publications, cited inthe present application is incorporated herein by reference in itsentirety.

What is claimed is:
 1. A compound of Formula (I):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₄ cycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from B, P, N, O and S, whereinthe P, N or S atom as ring members is optionally oxidized and one ormore carbon atoms as ring members are each optionally replaced by acarbonyl group; and wherein ring A is optionally substituted with 1, 2,3, 4 or 5 R⁶ substituents; L is a bond, —C(O)NR¹³—, —NR¹³C(O)—,—C(═S)NR¹³—, —NR¹³C(═S)—, —C(═NR¹³)NR¹³—, —NR¹³C(═NR¹³)—,—C(═NOR¹³)NR¹³—, —NR¹³C(═NOR¹³)—, —C(═NCN)NR¹³—, —NR¹³C(═NCN)—, O,—(CR¹⁴R¹⁵)_(q)—, —(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —(CR¹⁴R¹⁵)_(q)—,—NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—, —NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—,—SO₂NR¹³—, —NR¹³SO₂—, —NR¹³SO₂NR¹³—, —NR¹³C(O)O—, —OC(O)NR¹³ or—NR¹³C(O)NR¹³—; X is N or CR¹⁷; R³ is methyl, halo, CN or C₁₋₄haloalkyl; R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂; R⁶, R⁷, R¹⁷ andR¹⁸ are each independently selected from H, halo, C₁₋₆ alkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), C(O)NR^(a)S(O)₂R^(a),OC(O)R^(a), OC(O)NR^(a)R^(a), NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a),NR^(a)C(═NR^(a))R^(a), NR^(a)C(O)OR^(a), NR^(a)C(O)NR^(a)R^(a),C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a), NR^(a)C(═NR^(a))NR^(a)R^(a),NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a), NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a),S(O)NR^(a)R^(a), S(O)₂R^(a), S(O)₂NR^(a)C(O)R^(a), —P(O)R^(a)R^(a),—P(O)(OR^(a))(OR^(a)), —B(OH)₂, —B(OR^(a))₂ and S(O)₂NR^(a)R^(a),wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-14 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionally substituted with 1, 2, 3, 4or 5 independently selected R^(b) substituents; or two R⁶ substituentsattached to the same ring carbon atom taken together with the ringcarbon atom to which they are attached form spiro C₃₋₆ cycloalkyl orspiro 4- to 7-membered heterocycloalkyl, each of which is optionallysubstituted with 1, 2, or 3 independently selected R^(f) substituents;each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyl optionallysubstituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄ alkoxy,C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyland —N(C₁₋₄ alkyl)₂; R¹⁴ and R¹⁵ are each independently selected from H,halo, CN, OH, —COOH, C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄alkyl)₂, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6membered heteroaryl and 4-6 membered heterocycloalkyl, wherein the C₁₋₄alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl,phenyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl of R¹⁴or R¹⁵ are each optionally substituted with 1, 2, or 3 independentlyselected R^(q) substituents; or R¹⁴ and R¹⁵ taken together with thecarbon atom to which they are attached form 3-, 4-, 5- or 6-memberedcycloalkyl or 3-, 4-, 5- or 6-membered heterocycloalkyl, each of whichis optionally substituted with 1 or 2 independently selected R^(q)substituents; each R^(a) is independently selected from H, CN, C₁₋₆alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(d) substituents; eachR^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl, halo,C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), C(O)NR^(e)S(O)₂R^(e),OC(O)R^(e), OC(O)NR^(e)R^(e), NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e),NR^(e)C(═NR^(e))R^(e), NR^(e)C(O)NR^(e)R^(e), NR^(e)C(O)OR^(e),C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), S(O)₂NR^(e)C(O)R^(e), NR^(e)S(O)₂R^(e),NR^(e)S(O)₂NR^(e)R^(e), —P(O)R^(e)R^(e), —P(O)(OR^(e))(OR^(e)), —B(OH)₂,—B(OR^(e))₂ and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆haloalkyl, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents; each R^(e) isindependently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents; each R^(b) substituent is independentlyselected from halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂,NHOR^(c), OR^(c), SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c),C(O)NR^(c)S(O)₂R^(c), OC(O)R^(c), OC(O)NR^(c)R^(c),C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c), NHR^(c),NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(═NR^(c))R^(c), NR^(c)C(O)OR^(c),NR^(c)C(O)NR^(c)R^(c), NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c),NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c), S(O)NR^(c)R^(c), S(O)₂R^(c),S(O)₂NR^(c)C(O)R^(c), —P(O)R^(c)R^(c), —P(O)(OR^(c))(OR^(c)), —B(OH)₂,—B(OR^(e))₂ and S(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(b) are each further optionallysubstituted with 1, 2, or 3 independently selected R^(d) substituents;each R^(c) is independently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(f) substituents; each R^(f) is independently selected from C₁₋₄alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-,halo, CN, NHOR^(g), OR^(g), SR^(g), C(O)R, C(O)NR^(g)R^(g), C(O)OR^(g),C(O)NR^(g)S(O)₂R^(g), OC(O)R^(g), OC(O)NR^(g)R^(g), NHR^(g),NR^(g)R^(g), NR^(g)C(O)R^(g), NR^(g)C(═NR^(g))R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(i)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),S(O)₂NR^(g)C(O)R^(g), NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g),—P(O)R^(g)R^(g), —P(O)(OR^(g))(OR^(g)), —B(OH)₂, —B(OR^(g))₂ andS(O)₂NR^(g)R^(g); wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are eachoptionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(n) substituents; each R^(n) is independently selected from C₁₋₄alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-,halo, CN, NHOR^(o), OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o),C(O)OR^(o), C(O)NR^(o)S(O)₂R^(o), OC(O)R^(o), OC(O)NR^(o)R^(o), NHR^(o),NR^(o)R^(o), NR^(o)C(O)R^(o), NR^(o)C(═NR^(o))R^(o),NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o), C(═NR^(o))NR^(o)R^(o),NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o),S(O)₂NR^(o)C(O)R^(o), NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o),—P(O)R^(o)R^(o), —P(O)(OR^(o))(OR^(o)), —B(OH)₂, —B(OR^(o))₂ andS(O)₂NR^(o)R^(o), wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are eachoptionally substituted with 1, 2 or 3 independently selected R^(q)substituents; each R^(g) is independently selected from H, C₁₋₆ alkyl,C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-10 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(g) are each optionally substitutedwith 1, 2, or 3 independently selected R^(p) substituents; each R^(p) isindependently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r), OR^(r),SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), C(O)NR^(r)S(O)₂R^(r),OC(O)R^(r), OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(═NR^(r))R^(r), NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r),C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NOH)NR^(r)R^(r), NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r),S(O)NR^(r)R^(r), S(O)₂R^(r), S(O)₂NR^(r)C(O)R^(r), NR^(r)S(O)₂R^(r),NR^(r)S(O)₂NR^(r)R^(r), —P(O)R^(r)R^(r), —P(O)(OR^(r))(OR^(r)), —B(OH)₂,—B(OR^(r))₂ and S(O)₂NR^(r)R^(r), wherein the C₁₋₆ alkyl, C₁₋₆haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(p) is optionally substituted with 1, 2 or 3 independently selectedR^(q) substituents; or any two R^(a) substituents together with theboron, phosphorus or nitrogen atom to which they are attached form a 4-,5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl group optionallysubstituted with 1, 2 or 3 independently selected R^(h) substituents;each R^(h) is independently selected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl,4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), SR^(i), NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i),C(O)NR^(i)S(O)₂R, OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i),NR^(i)C(O)R^(i), NR^(i)C(═NR^(i))R^(i), NR^(i)C(O)NR^(i)R^(i),NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i), NR^(i)C(═NR¹)NR^(i)R^(i),S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i), S(O)₂NR^(i)C(O)R¹,NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), —P(O)R^(i)R^(i),—P(O)(OR)(OR), —B(OH)₂, —B(OR^(i))₂ and S(O)₂NR^(i)R^(i), wherein theC₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, 4-7 memberedheterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 membered heteroaryl)-C₁₋₄alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(h) are eachfurther optionally substituted by 1, 2, or 3 independently selectedR^(j) substituents; each R^(j) is independently selected from C₃₋₆cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 memberedheterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, CN, NHOR^(k), OR^(k), SR^(k), C(O)R^(k),C(O)NR^(k)R^(k), C(O)OR^(k), C(O)NR^(k)S(O)₂R^(k), OC(O)R^(k),OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(═NR^(k))R^(k), NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k),C(═NR^(k))NR^(k)R^(k), NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k),S(O)NR^(k)R^(k), S(O)₂R^(k), S(O)₂NR^(k)C(O)R^(k), NR^(k)S(O)₂R^(k),NR^(k)S(O)₂NR^(k)R^(k), —P(O)R^(k)R^(k), —P(O)(OR^(k))(OR^(k)), —B(OH)₂,—B(OR^(k))₂ and S(O)₂NR^(k)R^(k), wherein the C₁₋₄ alkyl, C₃₋₆cycloalkyl, C₆₋₁₀ aryl, 5- or 6-membered heteroaryl, 4-7 memberedheterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl, C₁₋₄ haloalkyl and C₁₋₄haloalkoxy of R^(j) are each optionally substituted with 1, 2 or 3independently selected R^(q) substituents; or two R^(h) groups attachedto the same carbon atom of the 4- to 10-membered heterocycloalkyl takentogether with the carbon atom to which they are attached form a C₃₋₆cycloalkyl or 4- to 6-membered heterocycloalkyl having 1-2 heteroatomsas ring members selected from O, N or S; or any two R^(c) substituentstogether with the boron, phosphorus or nitrogen atom to which they areattached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents; or any two R^(e) substituents together with theboron, phosphorus or nitrogen atom to which they are attached form a 4-,5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;or any two R^(g) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents; or any two R^(i)substituents together with the boron, phosphorus or nitrogen atom towhich they are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents, or 1, 2, or 3 independentlyselected R^(q) substituents; or any two R^(k) substituents together withthe boron, phosphorus or nitrogen atom to which they are attached form a4-, 5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents,or 1, 2, or 3 independently selected R^(q) substituents; or any twoR^(o) substituents together with the boron, phosphorus or nitrogen atomto which they are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; or any two R^(r) substituentstogether with the boron, phosphorus or nitrogen atom to which they areattached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents; each R^(i), R^(k), R^(o) or R^(r) is independentlyselected from H, C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₄ alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl,C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 memberedheterocycloalkyl, C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o)or R^(r) are each optionally substituted with 1, 2 or 3 R^(q)substituents; each R^(q) is independently selected from halo, OH, CN,—COOH, NH₂, —NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy,C₁₋₆ alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;the subscript m is an integer of 0, 1, 2 or 3; the subscript n is aninteger of 0, 1, 2 or 3; each subscript q is independently an integer of1, 2, 3 or 4; and the subscript s is an integer of 1, 2, or
 3. 2. Thecompound of claim 1, having Formula (I):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₄ cycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from B, P, N, O and S, whereinthe P, N or S atom as ring members is optionally oxidized and one ormore carbon atoms as ring members are each optionally replaced by acarbonyl group; and wherein ring A is optionally substituted with 1, 2,3, 4 or 5 R⁶ substituents; L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O,—(CR¹⁴R¹⁵)_(q)—, —(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—,—(CR¹⁴R¹⁵)_(q)—NR¹³—, —NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—,—NR¹³SO₂, —NR¹³SO₂NR¹³—, —NR¹³C(O)O—, —OC(O)NR¹³ or —NR¹³C(O)NR¹³—; X isN or CR¹⁷; R³ is methyl, halo, CN or C₁₋₄ haloalkyl; R⁴ is C₁₋₄ alkyl,C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂,—NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂; R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or—N(C₁₋₄ alkyl)₂; R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selectedfrom H, halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a),NHOR^(a), C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a),OC(O)NR^(a)R^(a), NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a),NR^(a)C(O)OR^(a), NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a),C(═NR^(a))NR^(a)R^(a), NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a),NR^(a)S(O)₂R^(a), NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a),S(O)₂R^(a), —P(O)R^(a)R^(a), —P(O)(OR^(a))(OR^(a)), —B(OH)₂, —B(OR^(a))₂and S(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionallysubstituted with 1, 2, 3, 4 or 5 independently selected R^(b)substituents; or two R⁶ substituents attached to the same ring carbonatom taken together with the ring carbon atom to which they are attachedform spiro C₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl,each of which is optionally substituted with 1, 2, or 3 independentlyselected R^(f) substituents; each R¹³ is independently H, C₁₋₆ haloalkylor C₁₋₆ alkyl optionally substituted with a substituent selected fromC₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH,—COOH, NH₂, —NHC₁₋₄ alkyl and —N(C₁₋₄ alkyl)₂; R¹⁴ and R¹⁵ are eachindependently selected from H, halo, CN, OH, —COOH, C₁₋₄ alkyl, C₁₋₄alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy,C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-6 memberedheterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are each optionallysubstituted with 1, 2, or 3 independently selected R^(q) substituents;or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 independently selected R^(q) substituents; each R^(a) isindependently selected from H, CN, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 memberedheteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-,and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14membered heteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄alkyl- and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(a) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(d) substituents; each R^(d) is independently selected from C₁₋₆alkyl, C₁₋₆ haloalkyl, halo, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀cycloalkyl, 4-14 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-,(4-14 membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e),SR^(e), C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e),OC(O)NR^(e)R^(e), NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e),NR^(e)C(O)NR^(e)R^(e), NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NOH)NR^(e)R^(e),NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e), S(O)NR^(e)R^(e), S(O)₂R^(e),NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e), —P(O)R^(e)R^(e),—P(O)(OR^(e))(OR^(e)), —B(OH)₂, —B(OR^(e))₂ and S(O)₂NR^(e)R^(e),wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀ aryl, 5-14 memberedheteroaryl, C₃₋₁₀ cycloalkyl, 4-14 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃-10 cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl- of R^(d) are each optionally substituted with 1, 2, or 3independently selected R^(f) substituents; each R^(e) is independentlyselected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(e) are eachoptionally substituted with 1, 2 or 3 independently selected R^(f)substituents; each R^(b) substituent is independently selected fromhalo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c),NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c),NR^(c)C(O)NR^(c)R^(c), NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c),NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c), S(O)NR^(c)R^(c), S(O)₂R^(c),—P(O)R^(c)R^(c), —P(O)(OR^(c))(OR^(c)), —B(OH)₂, —B(OR^(c))₂ andS(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(b) are each further optionally substituted with 1, 2, or 3independently selected R^(d) substituents; each R^(c) is independentlyselected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) are each optionallysubstituted with 1, 2, 3, 4, or 5 independently selected R^(f)substituents; each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-,halo, CN, NHOR^(g), OR^(g), SR^(g), C(O)R^(g), C(O)NR^(g)R^(g),C(O)OR^(g), OC(O)R^(g), OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g),NR^(g)C(O)R^(g), NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g),C(═NR^(g))NR^(g)R^(g), NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g),S(O)NR^(g)R^(g), S(O)₂R^(g), NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g),—P(O)R^(g)R^(g), —P(O)(OR^(g))(OR^(g)), —B(OH)₂, —B(OR^(g))₂ andS(O)₂NR^(g)R^(g); wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are eachoptionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(n) substituents; each R^(n) is independently selected from C₁₋₄alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-,halo, CN, NHOR^(o), OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o),C(O)OR^(o), OC(O)R^(o), OC(O)NR^(o)R^(o), NHR^(o), NR^(o)R^(o),NR^(o)C(O)R^(o), NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o),C(═NR^(o))NR^(o)R^(o), NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o),S(O)NR^(o)R^(o), S(O)₂R^(o), NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o),—P(O)R^(o)R^(o), —P(O)(OR^(o))(OR^(o)), —B(OH)₂, —B(OR^(o))₂ andS(O)₂NR^(o)R^(o), wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are eachoptionally substituted with 1, 2 or 3 independently selected R^(q)substituents; each R^(g) is independently selected from H, C₁₋₆ alkyl,C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-10 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(g) are each optionally substitutedwith 1, 2, or 3 independently selected R^(p) substituents; each R^(p) isindependently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r), OR^(r),SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r), —P(O)R^(r)R^(r),—P(O)(OR^(r))(OR^(r)), —B(OH)₂, —B(OR^(r))₂ and S(O)₂NR^(r)R^(r),wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 independently selected R^(q) substituents; or any two R^(a)substituents together with the boron, phosphorus or nitrogen atom towhich they are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2 or 3independently selected R^(h) substituents; each R^(h) is independentlyselected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl, 4-7 memberedheterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 membered heteroaryl)-C₁₋₄alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(i), SR^(i),NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i), OC(O)R^(i),OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR)NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), —P(O)R^(i)R^(i),—P(O)(OR)(OR), —B(OH)₂, —B(OR^(i))₂ and S(O)₂NR^(i)R^(i), wherein theC₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, 4-7 memberedheterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 membered heteroaryl)-C₁₋₄alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(h) are eachfurther optionally substituted by 1, 2, or 3 independently selectedR^(j) substituents; each R^(j) is independently selected from C₃₋₆cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 memberedheterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, CN, NHOR^(k), OR^(k), SR^(k), C(O)R^(k),C(O)NR^(k)R^(k), C(O)OR^(k), OC(O)R^(k), OC(O)NR^(k)R^(k), NHR^(k),NR^(k)R^(k), NR^(k)C(O)R^(k), NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k),C(═NR^(k))NR^(k)R^(k), NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k),S(O)NR^(k)R^(k), S(O)₂R^(k), NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k),—P(O)R^(k)R^(k), —P(O)(OR^(k))(OR^(k)), —B(OH)₂, —B(OR^(k))₂ andS(O)₂NR^(k)R^(k), wherein the C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl,5- or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄alkenyl, C₂₋₄ alkynyl, C₁₋₄ haloalkyl and C₁₋₄ haloalkoxy of R are eachoptionally substituted with 1, 2 or 3 independently selected R^(q)substituents; or two R^(h) groups attached to the same carbon atom ofthe 4- to 10-membered heterocycloalkyl taken together with the carbonatom to which they are attached form a C₃₋₆ cycloalkyl or 4- to6-membered heterocycloalkyl having 1-2 heteroatoms as ring membersselected from O, N or S; or any two R^(c) substituents together with theboron, phosphorus or nitrogen atom to which they are attached form a 4-,5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;or any two R^(e) substituents together with the boron, phosphorus ornitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9-or 10-membered heterocycloalkyl group optionally substituted with 1, 2,or 3 independently selected R^(h) substituents; or any two R^(g)substituents together with the boron, phosphorus or nitrogen atom towhich they are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; or any two R^(i) substituentstogether with the boron, phosphorus or nitrogen atom to which they areattached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents, or 1, 2, or 3 independently selected R^(q)substituents; or any two R^(k) substituents together with the boron,phosphorus or nitrogen atom to which they are attached form a 4-, 5-,6-, 7-, 8-, 9- or 10-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents,or 1, 2, or 3 independently selected R^(q) substituents; or any twoR^(o) substituents together with the boron, phosphorus or nitrogen atomto which they are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; or any two R^(r) substituentstogether with the boron, phosphorus or nitrogen atom to which they areattached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents; each R^(i), R^(k), R^(o) or R^(r) is independentlyselected from H, C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₄ alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl,C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 memberedheterocycloalkyl, C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o)or R^(r) are each optionally substituted with 1, 2 or 3 R^(q)substituents; each R^(q) is independently selected from halo, OH, CN,—COOH, NH₂, —NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy,C₁₋₆ alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;the subscript m is an integer of 0, 1, 2 or 3; the subscript n is aninteger of 0, 1, 2 or 3; each subscript q is independently an integer of1, 2, 3 or 4; and the subscript s is an integer of 1, 2, or
 3. 3. Thecompound of claim 1, having Formula (I):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₄ cycloalkyl, wherein the 5- to14-membered heteroaryl and 4- to 14-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, 4 or 5 R⁶substituents; L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q)—,—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—, —NR¹³SO₂—,—NR¹³SO₂NR¹³—, —NR¹³C(O)O—, —OC(O)NR¹³ or —NR¹³C(O)NR¹³—; X is N orCR¹⁷; R³ is methyl, halo, CN or C₁₋₄ haloalkyl; R⁴ is C₁₋₄ alkyl, C₁₋₄alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂,—NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂; R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or—N(C₁₋₄ alkyl)₂; R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selectedfrom H, halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a),NHOR^(a), C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a),OC(O)NR^(a)R^(a), NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a),NR^(a)C(O)OR^(a), NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a),C(═NR^(a))NR^(a)R^(a), NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a),NR^(a)S(O)₂R^(a), NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a),S(O)₂R^(a), and S(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are eachoptionally substituted with 1, 2, 3, 4 or 5 independently selected R^(b)substituents; or two R⁶ substituents attached to the same ring carbonatom taken together with the ring carbon atom to which they are attachedform spiro C₃₋₆ cycloalkyl or spiro 4- to 7-membered heterocycloalkyl,each of which is optionally substituted with 1, 2, or 3 independentlyselected R^(f) substituents; each R¹³ is independently H, C₁₋₆ haloalkylor C₁₋₆ alkyl optionally substituted with a substituent selected fromC₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH,—COOH, NH₂, —NHC₁₋₄ alkyl and —N(C₁₋₄ alkyl)₂; R¹⁴ and R¹⁵ are eachindependently selected from H, halo, CN, OH, —COOH, C₁₋₄ alkyl, C₁₋₄alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy,C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-6 memberedheterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are each optionallysubstituted with 1, 2, or 3 independently selected R^(q) substituents;or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 independently selected R^(q) substituents; each R^(a) isindependently selected from H, CN, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 memberedheteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-,and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14membered heteroaryl, 4-14 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄alkyl- and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(a) areeach optionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(d) substituents; each R^(d) is independently selected from C₁₋₆alkyl, C₁₋₆ haloalkyl, halo, C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀cycloalkyl, 4-14 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-,(4-14 membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e),SR^(e), C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e),OC(O)NR^(e)R^(e), NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e),NR^(e)C(O)NR^(e)R^(e), NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NOH)NR^(e)R^(e),NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e), S(O)NR^(e)R^(e), S(O)₂R^(e),NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e), and S(O)₂NR^(e)R^(e), whereinthe C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀ aryl, 5-14 membered heteroaryl,C₃₋₁₀ cycloalkyl, 4-14 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(d) areeach optionally substituted with 1, 2, or 3 independently selected R^(f)substituents; each R^(e) is independently selected from H, C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-10 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(e) are each optionally substitutedwith 1, 2 or 3 independently selected R^(f) substituents; each R^(b)substituent is independently selected from halo, C₁₋₆ alkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂, NHOR^(c), OR^(c),SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c),NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c), NR^(c)C(O)OR^(c),NR^(c)C(O)NR^(c)R^(c), NR^(c)S(O)R^(c), NR^(c)S(O)₂R^(c),NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c), S(O)NR^(c)R^(c), S(O)₂R^(c) andS(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(b) are each further optionally substituted with 1, 2, or 3independently selected R^(d) substituents; each R^(c) is independentlyselected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) are each optionallysubstituted with 1, 2, 3, 4, or 5 independently selected R^(f)substituents; each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl,5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-,halo, CN, NHOR^(g), OR^(g), SR^(g), C(O)R^(g), C(O)NR^(g)R^(g),C(O)OR^(g), OC(O)R^(g), OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g),NR^(g)C(O)R^(g), NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g),C(═NR^(g))NR^(g)R^(g), NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g),S(O)NR^(g)R^(g), S(O)₂R^(g), NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g),and S(O)₂NR^(g)R^(g); wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are eachoptionally substituted with 1, 2, 3, 4, or 5 independently selectedR^(n) substituents; each R^(n) is independently selected from C₁₋₄alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-,halo, CN, NHOR^(o), OR^(o), SR^(o), C(O)R^(o), C(O)NR^(o)R^(o),C(O)OR^(o), OC(O)R^(o), OC(O)NR^(o)R^(o), NHR^(o), NR^(o)R^(o),NR^(o)C(O)R^(o), NR^(o)C(O)NR^(o)R^(o), NR^(o)C(O)OR^(o),C(═NR)NR^(o)R^(o), NR^(o)C(═NR^(o))NR^(o)R^(o), S(O)R^(o),S(O)NR^(o)R^(o), S(O)₂R^(o), NR^(o)S(O)₂R^(o), NR^(o)S(O)₂NR^(o)R^(o),and S(O)₂NR^(o)R^(o), wherein the C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(n) are eachoptionally substituted with 1, 2 or 3 independently selected R^(q)substituents; each R^(g) is independently selected from H, C₁₋₆ alkyl,C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-10 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(g) are each optionally substitutedwith 1, 2, or 3 independently selected R^(p) substituents; each R^(p) isindependently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r), OR^(r),SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r) and S(O)₂NR^(r)R^(r), whereinthe C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 independently selected R^(q) substituents; or any two R^(a)substituents together with the nitrogen atom to which they are attachedform a 4-, 5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl groupoptionally substituted with 1, 2 or 3 independently selected R^(h)substituents; each R^(h) is independently selected from C₁₋₆ alkyl,C₃₋₁₀ cycloalkyl, 4-7 membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6membered heteroaryl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-6 membered heteroaryl)-C₁₋₄ alkyl-, (4-7 memberedheterocycloalkyl)-C₁₋₄ alkyl-, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(i), SR^(i), NHOR^(i), C(O)R^(i),C(O)NR^(i)R^(i), C(O)OR^(i), OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i),NR^(i)R^(i), NR^(i)C(O)R^(i), NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i),C(═NR^(i))NR^(i)R^(i), NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i),S(O)NR^(i)R^(i), S(O)₂R^(i), NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i),and S(O)₂NR^(i)R^(i), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆alkynyl, C₃₋₁₀ cycloalkyl, 4-7 membered heterocycloalkyl, C₆₋₁₀ aryl,5-6 membered heteroaryl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-6 membered heteroaryl)-C₁₋₄ alkyl-, (4-7 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(h) are each further optionallysubstituted by 1, 2, or 3 independently selected R^(j) substituents;each R^(j) is independently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,NHOR^(k), OR^(k), SR^(k), C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k),OC(O)R^(k), OC(O)NR^(k)R^(k), NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k),NR^(k)C(O)NR^(k)R^(k), NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k),NR^(k)C(═NR^(k))NR^(k)R^(k), S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k),NR^(k)S(O)₂R^(k), NR^(k)S(O)₂NR^(k)R^(k), and S(O)₂NR^(k)R^(k), whereinthe C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-memberedheteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl,C₁₋₄ haloalkyl and C₁₋₄ haloalkoxy of R^(j) are each optionallysubstituted with 1, 2 or 3 independently selected R^(q) substituents; ortwo R^(h) groups attached to the same carbon atom of the 4- to10-membered heterocycloalkyl taken together with the carbon atom towhich they are attached form a C₃₋₆ cycloalkyl or 4- to 6-memberedheterocycloalkyl having 1-2 heteroatoms as ring members selected from O,N or S; or any two R^(c) substituents together with the nitrogen atom towhich they are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; or any two R^(e) substituentstogether with the nitrogen atom to which they are attached form a 4-,5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;or any two R^(g) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; or any two R^(i) substituentstogether with the nitrogen atom to which they are attached form a 4-,5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;or any two R^(k) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; or any two R^(o) substituentstogether with the nitrogen atom to which they are attached form a 4-,5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;or any two R^(r) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; each R^(i), R^(k), R^(o) orR^(r) is independently selected from H, C₁₋₄ alkyl, C₃₋₆ cycloalkyl,C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₄ alkenyl, and C₂₋₄ alkynyl, whereinthe C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl,4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i),R^(k), R^(o) or R^(r) are each optionally substituted with 1, 2 or 3R^(q) substituents; each R^(q) is independently selected from halo, OH,CN, —COOH, NH₂, —NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆alkoxy, C₁₋₆ alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6membered heteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl,wherein the C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 memberedheterocycloalkyl, and 5-6 membered heteroaryl of R^(q) are eachoptionally substituted with 1, 2, or 3 substituents selected from halo,OH, CN, —COOH, NH₂, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, phenyl, C₃₋₁₀ cycloalkyl, 5-6 membered heteroaryl and 4-6membered heterocycloalkyl; the subscript m is an integer of 0, 1, 2 or3; the subscript n is an integer of 0, 1, 2 or 3; each subscript q isindependently an integer of 1, 2, 3 or 4; and the subscript s is aninteger of 1, 2, or
 3. 4. The compound of claim 1, having Formula (I):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: ring A is 5- to 14-membered heteroaryl, 4- to 14-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₀ cycloalkyl, wherein the 5- to10-membered heteroaryl and 4- to 11-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, 4 or 5independently selected R⁶ substituents; L is a bond, —C(O)NR¹³—,—NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q)—, —(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—,—NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—, —NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—,—SO₂NR¹³—, —NR¹³SO₂—, —NR¹³SO₂NR¹³—, —NR¹³C(O)O— or —NR¹³C(O)NR¹³—; X isN or CR¹⁷; R³ is methyl, halo, CN or C₁₋₄ haloalkyl; R⁴ is C₁₋₄ alkyl,C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂,—NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂; R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or—N(C₁₋₄ alkyl)₂; R⁶, R⁷, R¹⁷ and R¹⁸ are each independently selectedfrom H, halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a),NHOR^(a), C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a),OC(O)NR^(a)R^(a), NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a),NR^(a)C(O)OR^(a), NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a),C(═NR^(a))NR^(a)R^(a), NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a),NR^(a)S(O)₂R^(a), NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a),S(O)₂R^(a), and S(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are eachoptionally substituted with 1, 2, 3, 4 or 5 independently selected R^(b)substituents; each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyloptionally substituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂,—NHC₁₋₄ alkyl and —N(C₁₋₄ alkyl)₂; R¹⁴ and R¹⁵ are each independentlyselected from H, halo, CN, OH, —COOH, C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-6 memberedheterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are each optionallysubstituted with 1, 2, or 3 independently selected independentlyselected R^(q) substituents; or R¹⁴ and R¹⁵ taken together with thecarbon atom to which they are attached form 3-, 4-, 5- or 6-memberedcycloalkyl or 3-, 4-, 5- or 6-membered heterocycloalkyl, each of whichis optionally substituted with 1 or 2 independently selected R^(q)substituents; each R^(a) is independently selected from H, CN, C₁₋₆alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3, 4, or 5 independently selected R^(d) substituents; eachR^(d) is independently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl, halo,C₆₋₁₀ aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀aryl, 5-14 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-14 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(q) substituents; each R^(e) isindependently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(q) substituents; each R^(b) substituent is independentlyselected from halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂,NHOR^(c), OR^(c), SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c),OC(O)R^(c), OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c),NR^(c)C(═NR^(c))NR^(c)R^(c), NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c),NR^(c)C(O)OR^(c), NR^(c)C(O)NR^(c)R^(c), NR^(c)S(O)R^(c),NR^(c)S(O)₂R^(c), NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c), S(O)NR^(c)R^(c),S(O)₂R^(c) and S(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(b) are each further optionally substituted with 1, 2, or 3independently selected R^(d) substituents; each R^(c) is independentlyselected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) are each optionallysubstituted with 1, 2, 3, 4, or 5 independently selected R^(d)substituents; or any two R^(a) substituents together with the nitrogenatom to which they are attached form a 4-, 5-, 6-, 7-, 8-, 9- or10-membered heterocycloalkyl group optionally substituted with 1, 2 or 3independently selected R^(h) substituents; or any two R^(c) substituentstogether with the nitrogen atom to which they are attached form a 4-,5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;or any two R^(e) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, 7-, 8-, 9- or 10-memberedheterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; each R^(h) is independentlyselected from C₁₋₆ alkyl, C₃₋₁₀ cycloalkyl, 4-7 memberedheterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀ aryl-C₁₋₄alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 membered heteroaryl)-C₁₋₄alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl-, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(i), SR^(i),NHOR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i), OC(O)R^(i),OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i),NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i), C(═NR^(i))NR^(i)R^(i),NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i), S(O)NR^(i)R^(i), S(O)₂R^(i),NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i), and S(O)₂NR^(i)R^(i), whereinthe C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, 4-7membered heterocycloalkyl, C₆₋₁₀ aryl, 5-6 membered heteroaryl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-6 memberedheteroaryl)-C₁₋₄ alkyl-, (4-7 membered heterocycloalkyl)-C₁₋₄ alkyl- ofR^(h) are each further optionally substituted by 1, 2, or 3independently selected R^(j) substituents; each R^(j) is independentlyselected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl,4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl, halo, C₁₋₄alkyl, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, NHOR^(k), OR^(k), SR^(k),C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k), OC(O)R^(k), OC(O)NR^(k)R^(k),NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k), NR^(k)C(O)NR^(k)R^(k),NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k), NR^(k)C(═NR^(k))NR^(k)R^(k),S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k), NR^(k)S(O)₂R^(k),NR^(k)S(O)₂NR^(k)R^(k), and S(O)₂NR^(k)R^(k), wherein the C₁₋₄ alkyl,C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-membered heteroaryl, 4-6 memberedheterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl, C₁₋₄ haloalkyl, and C₁₋₄haloalkoxy of R^(j) are each optionally substituted with 1, 2 or 3independently selected R^(q) substituents; each of R^(i) and R^(k) isindependently selected from H, C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl,5 or 6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₁₋₆haloalkyl, C₁₋₆ haloalkoxy, C₂-4 alkenyl, and C₂₋₄ alkynyl, wherein theC₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7membered heterocycloalkyl, C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i) orR^(k) are each optionally substituted with 1, 2 or 3 independentlyselected R^(q) substituents; each R^(q) is independently selected fromhalo, OH, CN, —COOH, NH₂, —NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl,C₁₋₆ alkoxy, C₁₋₆ alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl,5-6 membered heteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆cycloalkyl, wherein the C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6membered heterocycloalkyl, and 5-6 membered heteroaryl of R^(q) are eachoptionally substituted with 1, 2, or 3 substituents selected from halo,OH, CN, —COOH, NH₂, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, phenyl, C₃₋₁₀ cycloalkyl, 5-6 membered heteroaryl and 4-6membered heterocycloalkyl; the subscript m is an integer of 0, 1, 2 or3; the subscript n is an integer of 0, 1, 2 or 3; each subscript q isindependently an integer of 1, 2, 3 or 4; and the subscript s is aninteger of 1, 2, or
 3. 5. The compound of claim 1, having Formula (I):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: ring A is 5- to 10-membered heteroaryl, 4- to 11-memberedheterocycloalkyl, C₆₋₁₀ aryl or C₃₋₁₀ cycloalkyl, wherein the 5- to10-membered heteroaryl and 4- to 11-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2, 3, 4 or 5 R⁶substituents; L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, O, —(CR¹⁴R¹⁵)_(q)—,—(CR¹⁴R¹⁵)_(q)—O—, —O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, —(CR¹⁴R¹⁵)_(q)—NR¹³—,—NR¹³—(CR¹⁴R¹⁵)_(q)—, —CH═CH—, —C≡C—, —SO₂NR¹³—, —NR¹³SO₂—, —NR¹³C(O)O—or —NR¹³C(O)NR¹³—; X is N or CR¹⁷; R³ is methyl, halo, CN or C₁₋₄haloalkyl; R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂;R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂; R⁶, R⁷, R¹⁷ andR¹⁸ are each independently selected from H, halo, C₁₋₆ alkyl, C₂₋₆alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), SR^(a), NHOR^(a),C(O)R^(a), C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a),NHR^(a), NR^(a)R^(a), NR^(a)C(O)R^(a), NR^(a)C(O)OR^(a),NR^(a)C(O)NR^(a)R^(a), C(═NR^(a))R^(a), C(═NR^(a))NR^(a)R^(a),NR^(a)C(═NR^(a))NR^(a)R^(a), NR^(a)S(O)R^(a), NR^(a)S(O)₂R^(a),NR^(a)S(O)₂NR^(a)R^(a), S(O)R^(a), S(O)NR^(a)R^(a), S(O)₂R^(a), andS(O)₂NR^(a)R^(a), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-14 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-14 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R⁶, R⁷, R¹⁷ and R¹⁸ are each optionallysubstituted with 1, 2, 3, 4 or 5 R^(b) substituents; or two R⁶substituents attached to the same ring carbon atom taken together withthe ring carbon atom to which they are attached form spiro C₃₋₆cycloalkyl or spiro 4- to 7-membered heterocycloalkyl, each of which isoptionally substituted with 1, 2, or 3 independently selected R^(f)substituents; each R¹³ is independently H, C₁₋₆ haloalkyl or C₁₋₆ alkyloptionally substituted with a substituent selected from C₁₋₄ alkyl, C₁₋₄alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, NH₂,—NHC₁₋₄ alkyl and —N(C₁₋₄ alkyl)₂; R¹⁴ and R¹⁵ are each independentlyselected from H, halo, CN, OH, —COOH, C₁₋₄ alkyl, C₁₋₄ alkoxy, —NHC₁₋₄alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-6 memberedheterocycloalkyl, wherein the C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 membered heteroaryl and4-6 membered heterocycloalkyl of R¹⁴ or R¹⁵ are each optionallysubstituted with 1, 2, or 3 independently selected R^(q) substituents;or R¹⁴ and R¹⁵ taken together with the carbon atom to which they areattached form 3-, 4-, 5- or 6-membered cycloalkyl or 3-, 4-, 5- or6-membered heterocycloalkyl, each of which is optionally substitutedwith 1 or 2 R^(q) substituents; each R^(a) is independently selectedfrom H, CN, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionallysubstituted with 1, 2, 3, 4, or 5 R^(d) substituents; each R^(d) isindependently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl, halo, C₆₋₁₀aryl, 5-10 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NH₂, NHOR^(e), OR^(e), SR^(e),C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e), OC(O)NR^(e)R^(e),NHR^(e), NR^(e)R^(e), NR^(e)C(O)R^(e), NR^(e)C(O)NR^(e)R^(e),NR^(e)C(O)OR^(e), C(═NR^(e))NR^(e)R^(e), NR^(e)C(═NR^(e))NR^(e)R^(e),NR^(e)C(═NOH)NR^(e)R^(e), NR^(e)C(═NCN)NR^(e)R^(e), S(O)R^(e),S(O)NR^(e)R^(e), S(O)₂R^(e), NR^(e)S(O)₂R^(e), NR^(e)S(O)₂NR^(e)R^(e),and S(O)₂NR^(e)R^(e), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₆₋₁₀aryl, 5-10 membered heteroaryl, C₃₋₁₀ cycloalkyl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(d) are each optionally substitutedwith 1, 2, or 3 independently selected R^(f) substituents; each R^(e) isindependently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(e) are each optionally substituted with 1, 2 or 3 independentlyselected R^(f) substituents; each R^(b) substituent is independentlyselected from halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆haloalkyl, C₁₋₆ haloalkoxy, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-,(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, CN, OH, NH₂, NO₂,NHOR^(c), OR^(c), SR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c),OC(O)R^(c), OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c),NR^(c)C(═NR^(c))NR^(c)R^(c), NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c),NR^(c)C(O)OR^(c), NR^(c)C(O)NR^(c)R^(c), NR^(c)S(O)R^(c),NR^(c)S(O)₂R^(c), NR^(c)S(O)₂NR^(c)R^(c), S(O)R^(c), S(O)NR^(c)R^(c),S(O)₂R^(c) and S(O)₂NR^(c)R^(c); wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R^(b) are each further optionally substituted with 1, 2, or 3independently selected R^(d) substituents; each R^(c) is independentlyselected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(c) are each optionallysubstituted with 1, 2, 3, 4, or 5 R^(f) substituents; each R^(f) isindependently selected from C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(g), OR^(g),SR^(g), C(O)R^(g), C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g),OC(O)NR^(g)R^(g), NHR^(g), NR^(g)R^(g), NR^(g)C(O)R^(g),NR^(g)C(O)NR^(g)R^(g), NR^(g)C(O)OR^(g), C(═NR^(g))NR^(g)R^(g),NR^(g)C(═NR^(g))NR^(g)R^(g), S(O)R^(g), S(O)NR^(g)R^(g), S(O)₂R^(g),NR^(g)S(O)₂R^(g), NR^(g)S(O)₂NR^(g)R^(g), and S(O)₂NR^(g)R^(g); whereinthe C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(f) are each optionally substitutedwith 1, 2, 3, 4, or 5 R^(n) substituents; each R^(n) is independentlyselected from C₁₋₄ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(o), OR^(o), SR^(o),C(O)R^(o), C(O)NR^(o)R^(o), C(O)OR^(o), OC(O)R^(o), OC(O)NR^(o)R^(o),NHR^(o), NR^(o)R^(o), NR^(o)C(O)R^(o), NR^(o)C(O)NR^(o)R^(o),NR^(o)C(O)OR^(o), C(═NR^(o))NR^(o)R^(o), NR^(o)C(═NR^(o))NR^(o)R^(o),S(O)R^(o), S(O)NR^(o)R^(o), S(O)₂R^(o), NR^(o)S(O)₂R^(o),NR^(o)S(O)₂NR^(o)R^(o), and S(O)₂NR^(o)R^(o), wherein the C₁₋₄ alkyl,C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl,C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-10 membered heterocycloalkyl)-C₁₋₄alkyl- of R^(n) are each optionally substituted with 1, 2 or 3independently selected R^(q) substituents; each R^(g) is independentlyselected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R^(g) are each optionallysubstituted with 1, 2, or 3 R^(p) substituents; each R^(p) isindependently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl,C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl,4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, halo, CN, NHOR^(r), OR^(r),SR^(r), C(O)R^(r), C(O)NR^(r)R^(r), C(O)OR^(r), OC(O)R^(r),OC(O)NR^(r)R^(r), NHR^(r), NR^(r)R^(r), NR^(r)C(O)R^(r),NR^(r)C(O)NR^(r)R^(r), NR^(r)C(O)OR^(r), C(═NR^(r))NR^(r)R^(r),NR^(r)C(═NR^(r))NR^(r)R^(r), NR^(r)C(═NOH)NR^(r)R^(r),NR^(r)C(═NCN)NR^(r)R^(r), S(O)R^(r), S(O)NR^(r)R^(r), S(O)₂R^(r),NR^(r)S(O)₂R^(r), NR^(r)S(O)₂NR^(r)R^(r) and S(O)₂NR^(r)R^(r), whereinthe C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl,C₃₋₁₀ cycloalkyl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl- and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(p) is optionally substituted with 1,2 or 3 R^(q) substituents; or any two R^(a) substituents together withthe nitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-,9- or 10-membered heterocycloalkyl group optionally substituted with 1,2 or 3 R^(h) substituents; each R^(h) is independently selected fromC₁₋₆ alkyl, C₃₋₁₀ cycloalkyl, 4-7 membered heterocycloalkyl, C₆₋₁₀ aryl,5-6 membered heteroaryl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-6 membered heteroaryl)-C₁₋₄ alkyl-, (4-7 memberedheterocycloalkyl)-C₁₋₄ alkyl-, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(i), SR^(i), NHOR^(i), C(O)R^(i),C(O)NR^(i)R^(i), C(O)OR^(i), OC(O)R^(i), OC(O)NR^(i)R^(i), NHR^(i),NR^(i)R^(i), NR^(i)C(O)R^(i), NR^(i)C(O)NR^(i)R^(i), NR^(i)C(O)OR^(i),C(═NR^(i))NR^(i)R^(i), NR^(i)C(═NR^(i))NR^(i)R^(i), S(O)R^(i),S(O)NR^(i)R^(i), S(O)₂R^(i), NR^(i)S(O)₂R^(i), NR^(i)S(O)₂NR^(i)R^(i),and S(O)₂NR^(i)R^(i), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆alkynyl, C₃₋₁₀ cycloalkyl, 4-7 membered heterocycloalkyl, C₆₋₁₀ aryl,5-6 membered heteroaryl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₁₀ cycloalkyl-C₁₋₄alkyl-, (5-6 membered heteroaryl)-C₁₋₄ alkyl-, (4-7 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(h) are each further optionallysubstituted by 1, 2, or 3 R^(j) substituents; each R^(j) isindependently selected from C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-memberedheteroaryl, 4-7 membered heterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl,halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, CN, NHOR^(k), OR^(k), SR^(k),C(O)R^(k), C(O)NR^(k)R^(k), C(O)OR^(k), OC(O)R^(k), OC(O)NR^(k)R^(k),NHR^(k), NR^(k)R^(k), NR^(k)C(O)R^(k), NR^(k)C(O)NR^(k)R^(k),NR^(k)C(O)OR^(k), C(═NR^(k))NR^(k)R^(k), NR^(k)C(═NR^(k))NR^(k)R^(k),S(O)R^(k), S(O)NR^(k)R^(k), S(O)₂R^(k), NR^(k)S(O)₂R^(k),NR^(k)S(O)₂NR^(k)R^(k), and S(O)₂NR^(k)R^(k), wherein the C₁₋₄ alkyl,C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5- or 6-membered heteroaryl, 4-6 memberedheterocycloalkyl, C₂₋₄ alkenyl, C₂₋₄ alkynyl, C₁₋₄ haloalkyl, and C₁₋₄haloalkoxy of R^(j) are each optionally substituted with 1, 2 or 3independently selected R^(q) substituents; or two R^(h) groups attachedto the same carbon atom of the 4- to 10-membered heterocycloalkyl takentogether with the carbon atom to which they are attached form a C₃₋₆cycloalkyl or 4- to 6-membered heterocycloalkyl having 1-2 heteroatomsas ring members selected from O, N or S; or any two R^(c) substituentstogether with the nitrogen atom to which they are attached form a 4-,5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with1, 2, or 3 independently selected R^(h) substituents; or any two R^(e)substituents together with the nitrogen atom to which they are attachedform a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;or any two R^(g) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents; or any two R^(i) substituents together with thenitrogen atom to which they are attached form a 4-, 5-, 6-, or7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; or any two R^(k) substituentstogether with the nitrogen atom to which they are attached form a 4-,5-, 6-, or 7-membered heterocycloalkyl group optionally substituted with1, 2, or 3 independently selected R^(h) substituents; or any two R^(o)substituents together with the nitrogen atom to which they are attachedform a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;or any two R^(r) substituents together with the nitrogen atom to whichthey are attached form a 4-, 5-, 6-, or 7-membered heterocycloalkylgroup optionally substituted with 1, 2, or 3 independently selectedR^(h) substituents; each R^(i), R^(k), R^(o) or R^(r) is independentlyselected from H, C₁₋₄ alkyl, C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or6-membered heteroaryl, 4-7 membered heterocycloalkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₄ alkenyl, and C₂₋₄ alkynyl, wherein the C₁₋₄ alkyl,C₃₋₆ cycloalkyl, C₆₋₁₀ aryl, 5 or 6-membered heteroaryl, 4-7 memberedheterocycloalkyl, C₂₋₄ alkenyl, and C₂₋₄ alkynyl of R^(i), R^(k), R^(o)or R^(r) are each optionally substituted with 1, 2 or 3 R^(q)substituents; each R^(q) is independently selected from halo, OH, CN,—COOH, NH₂, —NH—C₁₋₆ alkyl, —N(C₁₋₆ alkyl)₂, C₁₋₆ alkyl, C₁₋₆ alkoxy,C₁₋₆ alkylthio, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, phenyl, 5-6 memberedheteroaryl, 4-6 membered heterocycloalkyl and C₃₋₆ cycloalkyl, whereinthe C₁₋₆ alkyl, phenyl, C₃₋₆ cycloalkyl, 4-6 membered heterocycloalkyl,and 5-6 membered heteroaryl of R^(q) are each optionally substitutedwith 1, 2, or 3 substituents selected from halo, OH, CN, —COOH, NH₂,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, phenyl, C₃₋₁₀cycloalkyl, 5-6 membered heteroaryl and 4-6 membered heterocycloalkyl;the subscript m is an integer of 0, 1, 2 or 3; the subscript n is aninteger of 0, 1, 2 or 3; each subscript q is independently an integer of1, 2, 3 or 4; and the subscript s is an integer of 1, 2, or
 3. 6. Thecompound of claim 1, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein: any two R^(i) substituents together withthe nitrogen atom to which they are attached form a 4-, 5-, 6-, 7-, 8-,9- or 10-membered heterocycloalkyl group optionally substituted with 1,2, or 3 independently selected R^(q) substituents; or any two R^(k)substituents together with the nitrogen atom to which they are attachedform a 4-, 5-, 6-, 7-, 8-, 9- or 10-membered heterocycloalkyl groupoptionally substituted with 1, 2, or 3 independently selected R^(q)substituents.
 7. The compound of claim 1, having Formula (Ia):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: R¹⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂,wherein the C₁₋₄ alkyl and C₁₋₄ alkoxy are each optionally substitutedwith 1 or 2 substituents independently selected from CN, halo and—C(O)NH₂; one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH,—COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂, wherein the C₁₋₄ alkyl andC₁₋₄ alkoxy of R¹ or R² is optionally substituted with 1 or 2substituents independently selected from C₁₋₄ alkoxy, C₁₋₄ haloalkyl,C₁₋₄ haloalkoxy, CN, halo, OH, —COOH, —C(O)NH₂, NH₂, —NHC₁₋₄ alkyl and—N(C₁₋₄ alkyl)₂; R⁷ is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, OH, —COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂,wherein the C₁₋₄ alkyl and C₁₋₄ alkoxy are each optionally substitutedwith 1 or 2 substituents independently selected from CN, halo or—C(O)NH₂; R⁸ and R⁹ are each independently selected from H, halo, CN,OH, —COOH, C₁₋₄ alkyl, C₁ 4 alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, C₁₋₄haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl, 5-6 memberedheteroaryl and 4-6 membered heterocycloalkyl, wherein the C₁₋₄ alkyl,C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, C₃₋₆ cycloalkyl, phenyl,5-6 membered heteroaryl and 4-6 membered heterocycloalkyl of R⁸ or R⁹are each optionally substituted with 1, 2 or 3 independently selectedR^(q) substituents; or R⁸ and R⁹ taken together with the carbon atom towhich they are attached form 3-, 4-, 5- or 6-membered cycloalkyl or 4-,5-, 6- or 7-membered heterocycloalkyl, each of which is optionallysubstituted with 1 or 2 R^(q) substituents; or R⁸ and R¹⁰ taken togetherwith the atoms to which they are attached form 4-, 5-, 6- or 7-memberedheterocycloalkyl, having zero to one additional heteroatoms as ringmembers selected from O, N or S, wherein the 4-, 5-, 6- or 7-memberedheterocycloalkyl formed by R⁸ and R¹⁰ are each optionally substitutedwith 1 or 2 R^(q) substituents; R¹⁰ and R¹¹ are each independentlyselected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₃₋₆ cycloalkyl, C₆₋₁₀aryl, 5-10 membered heteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀aryl-C₁₋₄ alkyl-, C₃₋₆ cycloalkyl-C₁₋₄ alkyl-, (5-10 memberedheteroaryl)-C₁₋₄ alkyl-, (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-,—C(O)R^(g), —C(O)OR^(g), —C(O)NR^(g)R^(g), —SO₂R^(g) and—SO₂NR^(g)R^(g), wherein the C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₃₋₆cycloalkyl, C₆₋₁₀ aryl, 5-10 membered heteroaryl, 4-10 memberedheterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, C₃₋₆ cycloalkyl-C₁₋₄ alkyl-,(5-10 membered heteroaryl)-C₁₋₄ alkyl-, and (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R¹⁰ or R¹¹ are each optionallysubstituted with 1, 2, or 3 independently selected R^(d) substituents;or R¹⁰ and R¹¹ taken together with the nitrogen atom to which they areattached form 4-, 5-, 6-, 7-, 8-, 9-, 10-, or 11-memberedheterocycloalkyl, wherein the 4-1 membered heterocycloalkyl is eachoptionally substituted with 1, 2 or 3 R^(f) substituents; R¹² is H, C₁₋₄alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, OH,—COOH, NH₂, —NHC₁₋₄ alkyl or —N(C₁₋₄ alkyl)₂; and the subscript p is aninteger of 1, 2, 3 or
 4. 8. The compound of claim 1, or apharmaceutically acceptable salt or a stereoisomer thereof, wherein (1)when L is —C(O)NH—, ring A is not4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridin-2-yl; (2) when L is a bond,ring A is not [1,2,4]triazolo[1,5-a]pyridin-2-yl; (3) when L is a bond,ring A is not 2-benzoxazolyl; or (4) when L is —C(O)NH—, ring A is not2-pyridyl.
 9. The compound of claim 7, having Formula (II):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 10. Thecompound of claim 7, having Formula (IIa):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 11. Thecompound of claim 7, having Formula (IIb):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 12. Thecompound of claim 7, having Formula (III):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 13. Thecompound of claim 7, having Formula (IIIa):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 14. Thecompound of claim 7, having Formula (IIIb):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 15. Thecompound of claim 7, having Formula (IIc):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: X¹, X², X³, X⁴, X⁵ and X⁶ are each independently N or CH, withthe proviso that X¹, X⁵ and X⁶ are not simultaneously N; R¹³ is H orC₁₋₄ alkyl; and the subscript r is an integer of 1, 2 or
 3. 16. Thecompound of claim 7, having Formula (IIc-1):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 17. Thecompound of claim 7, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein R¹³ is H.
 18. The compound of claim 7,having Formula (IIa-1):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: ring A is 5- to 10-membered heteroaryl, 4- to 11-memberedheterocycloalkyl or C₆₋₁₀ aryl, wherein the 5- to 10-membered heteroaryland 4- to 11-membered heterocycloalkyl each has 1-4 heteroatoms as ringmembers selected from N, O and S, wherein the N or S atom as ringmembers is optionally oxidized and one or more carbon atoms as ringmembers are each optionally replaced by a carbonyl group; and whereinring A is optionally substituted with 1, 2 or 3 R⁶ substituents; L is abond, —C(O)NH—, —NH— or —OCH₂—, wherein the carbonyl group in the—C(O)NH— linkage or the oxygen atom in the —OCH₂— linkage is attached toring A; and X is CH or N.
 19. The compound of claim 7, having Formula(IIa-2):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 20. Thecompound of claim 7, having Formula (IId):

or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: R¹³ is H or C₁₋₄ alkyl; R¹⁹ is H, C₁₋₆ alkyl, C₁₋₄ haloalkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl-, or(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl,C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀ cycloalkyl, 5-10 memberedheteroaryl, 4-10 membered heterocycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-,C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, (5-10 membered heteroaryl)-C₁₋₄ alkyl- and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R¹⁸ are each optionallysubstituted with 1, 2, or 3 R^(b) substituents; and the subscript t isan integer of 0, 1 or
 2. 21. The compound of claim 7, having Formula(IId-1):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 22. Thecompound of claim 7, having Formula (IIe):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 23. Thecompound of claim 7, having Formula (IIf):

or a pharmaceutically acceptable salt or a stereoisomer thereof.
 24. Thecompound of claim 1, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein ring A is selected from:

wherein each subscript r is an integer of 1, 2, 3, 4 or 5; R¹⁶ is C₁₋₆alkyl; and the wavy line indicates the point of attachment to L.
 25. Thecompound of claim 1, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein ring A is selected from:

wherein each subscript r is an integer of 1, 2 or
 3. 26. The compound ofclaim 1, or a pharmaceutically acceptable salt or a stereoisomerthereof, wherein ring A is selected from:

wherein each subscript r is an integer of 1, 2 or
 3. 27. The compound ofclaim 1, or a pharmaceutically acceptable salt or a stereoisomerthereof, wherein R⁶ is H, C₁₋₆ alkyl, (3-carboxypyrrolidin-1-yl)methyl,(R)-(3-carboxypyrrolidin-1-yl)methyl,(S)-(3-carboxypyrrolidin-1-yl)methyl, (3-hydroxypyrrolidin-1-yl)methyl,(R)-(3-hydroxypyrrolidin-1-yl)methyl,(S)-(3-hydroxypyrrolidin-1-yl)methyl, (2-hydroxyethylamino)methyl,(2-hydroxy-2-methylpropylamino)methyl, 2-(dimethylamino)ethanoyl,2-(3-carboxyazetidin-1-yl)ethanoyl,(R)-2-(3-carboxyazetidin-1-yl)ethanoyl,(S)-2-(3-carboxyazetidin-1-yl)ethanoyl,2-(2-carboxypiperidin-1-yl)ethanoyl,(R)-2-(2-carboxypiperidin-1-yl)ethanoyl,(S)-2-(2-carboxypiperidin-1-yl)ethanoyl,2-(3-carboxypyrrolidin-1-yl)ethanoyl,(S)-2-(3-carboxypyrrolidin-1-yl)ethanoyl,(R)-2-(3-carboxypyrrolidin-1-yl)ethanoyl, (5-cyanopyridin-3-yl)methoxy,halo or CN.
 28. The compound of claim 1, or a pharmaceuticallyacceptable salt or a stereoisomer thereof, wherein R⁶ is(4-carboxycyclohexyl)methyl, trans-(4-carboxycyclohexyl)methyl,cis-(4-carboxycyclohexyl)methyl, 1-carboxy-2-propyl,(R)-1-carboxy-2-propyl, (S)-1-carboxy-2-propyl,(4-carboxy-4-methylcyclohexyl)methyl, 2-pyrrolidinyl,2-(3-hydroxypyrrolidin-1-yl)acetyl,2-((R)-3-hydroxypyrrolidin-1-yl)acetyl,2-((S)-3-hydroxypyrrolidin-1-yl)acetyl,2-(3-hydroxyazetidin-1-yl)acetyl,2-((2-hydroxyethyl)(methyl)amino)acetyl, (4-carboxycyclohexyl)ethyl,4-carboxycyclohexyl, 4-carboxy-4-methylcyclohexyl, dimethylglycyl, orN-ethyl-N-methylglycyl.
 29. The compound of claim 1, or apharmaceutically acceptable salt or a stereoisomer thereof, wherein L isa bond, —NH—, —CH═CH— or —C(O)NH—, wherein the carbonyl group in the—C(O)NH— linkage is attached to ring A.
 30. The compound of claim 1, ora pharmaceutically acceptable salt or a stereoisomer thereof, wherein Lis —C(O)NH—.
 31. The compound of claim 1, or a pharmaceuticallyacceptable salt or a stereoisomer thereof, wherein L is —NH—.
 32. Thecompound of claim 1, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein L is a bond, —NH— or —C(O)NH—.
 33. Thecompound of claim 1, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein the subscript m is
 0. 34. The compound ofclaim 1, or a pharmaceutically acceptable salt or a stereoisomerthereof, wherein the subscript n is 1 and R⁵ is halo or C₁₋₄ alkyl. 35.The compound of claim 1, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein R³ is methyl, CN or Cl.
 36. The compoundof claim 7, or a pharmaceutically acceptable salt or a stereoisomerthereof, wherein R¹² is H, halo, CN, C₁₋₄ alkyl or C₁₋₄ alkoxy.
 37. Thecompound of claim 7, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein R⁷ is H, halo, CN, C₁₋₄ alkyl, C₁₋₄ alkoxyor C₁₋₄ haloalkoxy, wherein the C₁₋₄ alkyl and C₁₋₄ alkoxy of R⁷ areeach optionally substituted with CN.
 38. The compound of claim 7, or apharmaceutically acceptable salt or a stereoisomer thereof, wherein R²is H.
 39. The compound of claim 7, or a pharmaceutically acceptable saltor a stereoisomer thereof, wherein R², R⁷ and R¹² are each H.
 40. Thecompound of claim 7, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein R³ and R⁵ are each independently halo,methyl or CN.
 41. The compound of claim 7, or a pharmaceuticallyacceptable salt or a stereoisomer thereof, wherein R¹ is H.
 42. Thecompound of claim 7, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein the subscript p is
 1. 43. The compound ofclaim 7, or a pharmaceutically acceptable salt or a stereoisomerthereof, wherein R⁸ and R⁹ are each H.
 44. The compound of claim 7, or apharmaceutically acceptable salt or a stereoisomer thereof, wherein R¹⁰is H.
 45. The compound of claim 7, or a pharmaceutically acceptable saltor a stereoisomer thereof, wherein R¹¹ is 2-hydroxyethyl,[1-(hydroxymethyl)cyclopropyl]methyl,[1-(hydroxymethyl)cyclobutyl]methyl or 2-(dimethylamino)-2-oxo-ethyl.46. The compound of claim 7, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein R¹¹ is 1-hydroxy-2-propyl, 2-carboxyethyl,or 2-hydroxycyclopentyl.
 47. The compound of claim 7, or apharmaceutically acceptable salt or a stereoisomer thereof, wherein—NR¹⁰R¹¹ is (2-hydroxyethyl)amino, 3-hydroxypyrrolidin-1-yl,(R)-3-hydroxypyrrolidin-1-yl, (S)-3-hydroxypyrrolidin-1-yl,3-carboxypyrrolidin-1-yl, (R)-3-carboxypyrrolidin-1l-yl,(S)-3-carboxypyrrolidin-1-yl, 3-carboxyazetidin-1l-yl,(S)-3-carboxyazetidin-1l-yl, (R)-3-carboxyazetidin-1l-yl,2-carboxy-1-piperidinyl, (R)-2-carboxy-1-piperidinyl,(S)-2-carboxy-1-piperidinyl, 2-oxooxazolidin-3-yl,[1-(hydroxymethyl)cyclopropyl]methylamino,[1-(hydroxymethyl)cyclobutyl]methylamino,[2-(dimethylamino)-2-oxo-ethyl]amino,3-(dimethylaminocarbonyl)pyrrolidin-1-yl,(R)-3-(dimethylaminocarbonyl)pyrrolidin-1-yl,(S)-3-(dimethylaminocarbonyl)pyrrolidin-1-yl, 2-hydroxypropylamino,2-hydroxy-2-methylpropylamino, or 3-methyl-3-carboxypyrrolidin-1-yl. 48.The compound of claim 7, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein —NR¹⁰R¹¹ is (2-hydroxyethyl)amino,3-hydroxypyrrolidin-1-yl, 3-carboxypyrrolidin-1-yl,3-carboxyazetidin-1-yl, (S)-3-carboxyazetidin-1-yl,(R)-3-carboxyazetidin-1-yl, 2-carboxy-1-piperidinyl,2-oxooxazolidin-3-yl, [1-(hydroxymethyl)cyclopropyl]methylamino,[1-(hydroxymethyl)cyclobutyl]methylamino or[2-(dimethylamino)-2-oxo-ethyl]amino.
 49. The compound of claim 7, or apharmaceutically acceptable salt or a stereoisomer thereof, wherein—NR¹⁰R¹¹ is 1-pyrrolidinyl, (3-carboxy-3-methyl)pyrrolidin-1-yl,(R)-(3-carboxy-3-methyl)pyrrolidin-1-yl,(S)-(3-carboxy-3-methyl)pyrrolidin-1-yl, (1-hydroxy-2-propyl)amino,(R)-(1-hydroxy-2-propyl)amino, (S)-(1-hydroxy-2-propyl)amino,(3-hydroxy-3-methyl)pyrrolidin-1-yl,(R)-(3-hydroxy-3-methyl)pyrrolidin-1-yl,(S)-(3-hydroxy-3-methyl)pyrrolidin-1-yl, (2-hydroxycyclopentyl)amino,((1R,2S)-2-hydroxycyclopentyl)amino,((1R,2R)-2-hydroxycyclopentyl)amino,((1S,2S)-2-hydroxycyclopentyl)amino,((1S,2R)-2-hydroxycyclopentyl)amino, 2-carboxyethylamino,3-(carboxymethyl)pyrrolidin-1-yl, or5-carboxy-2-azabicyclo[2.2.1]heptan-2-yl.
 50. The compound of claim 1,or a pharmaceutically acceptable salt or a stereoisomer thereof, whereinring A is 2-pyridyl, optionally substituted with 1, 2, 3, or 4independently selected R⁶ substituents.
 51. The compound of claim 1, ora pharmaceutically acceptable salt or a stereoisomer thereof, wherein Xis N or CH.
 52. The compound of claim 1 selected from:2-(((8-((2-chloro-2′-methyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)amino)ethan-1-ol;1-(((6-(2-fluoro-3′-(3-((2-hydroxyethylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)pyridin-3-yl)methyl)amino)cyclobutanecarboxylicacid;(S)-1-((6-((2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)carbamoyl)pyridin-3-yl)methyl)piperidine-2-carboxylicacid;N-(2-fluoro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(((2-hydroxyethyl)amino)methyl)picolinamide;N-(2-chloro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(((2-hydroxyethyl)amino)methyl)picolinamide;N-(2-chloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)-5-(((R)-3-hydroxypyrrolidin-1-yl)methyl)picolinamide;(R)-1-((8-((2′-chloro-3′-(5-(((R)-3-hydroxypyrrolidin-1-yl)methyl)picolinamido)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid; and(R)-1-((8-((2′-chloro-3′-(5-((3-hydroxypyrrolidin-1-yl)methyl)picolinamido)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid; or a pharmaceutically acceptable salt or a stereoisomer thereof.53. The compound of claim 1 selected from:(R)-1-((8-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(S)-1-((8-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((3′-((3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid; and(S)-1-((8-((3′-((3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid; or a pharmaceutically acceptable salt or a stereoisomer thereof.54. The compound of claim 1 selected from:1-((8-(2-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2′-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid;(R)-1-((5-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6-oxo-1,6-dihydropyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-(2,2′-dichloro-3′-(5-((3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid;1-((8-(2,2′-dichloro-3′-(5-((2-hydroxyethylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid;1-((8-(2,2′-dichloro-3′-(5-((2-hydroxy-2-methylpropylamino)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid;2,2′-(((((2,2′-dimethyl-[1,1′-biphenyl]-3,3′-diyl)bis(azanediyl))bis(1,7-naphthyridine-8,3-diyl))bis(methylene))bis(azanediyl))bis(ethan-1-ol);(3R,3′R)-1,1′-((((2,2′-dimethyl-[1,1′-biphenyl]-3,3′-diyl)bis(azanediyl))bis(1,7-naphthyridine-8,3-diyl))bis(methylene))bis(pyrrolidin-3-ol);(R)-1-((8-(3′-(3-((2-hydroxyethylamino)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(3R,3′R)-1,1′-((((2,2′-dichloro-[1,1′-biphenyl]-3,3′-diyl)bis(azanediyl))bis(1,7-naphthyridine-8,3-diyl))bis(methylene))bis(pyrrolidin-3-ol);(R)-1-((4-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)pyrido[3,2-d]pyrimidin-7-yl)methyl)pyrrolidin-3-ol;(R)-1-((8-(3′-(7-((2-hydroxyethylamino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(R)-1-((8-(3′-(7-(((2-hydroxyethyl)(methyl)amino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(R)-1-((8-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-N,N-dimethylpyrrolidine-3-carboxamide(R)-1-((8-(3′-(7-(((S)-2-hydroxypropylamino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(R)-1-((8-(3′-(5-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1-methyl-2-oxo-1,2-dihydropyridine-3-carboxamido)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-(3′-(7-(((R)-2-hydroxypropylamino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(R)-1-((8-(3′-(7-((2-hydroxy-2-methylpropylamino)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(R)-1-((8-(2′-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(S)—N-(2-chloro-3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-yl)-1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamide;(R)-1-((8-(2′-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid;(R)-1-((8-((2,2′-dimethyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((2,2′-dimethyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(5)-1-((8-((2,2′-dimethyl-3′-(4,5,6,7-tetrahydrothiazolo[5,4-c]pyridin-2-yl)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(R)-2-(dimethylamino)-1-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)ethan-1-one;(S)-2-(dimethylamino)-1-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)ethan-1-one;(R)-1-(2-(2-(3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)azetidine-3-carboxylicacid;(S)-1-(2-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid;(R)-1-(2-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)pyrrolidine-3-carboxylicacid;(S)-1-(2-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]oxazol-5-yl)-2-oxoethyl)piperidine-2-carboxylicacid;(S)-1-(5-chloro-2-((5-cyanopyridin-3-yl)methoxy)-4-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)methoxy)benzyl)piperidine-2-carboxylicacid; and(R)-1-(5-chloro-2-((5-cyanopyridin-3-yl)methoxy)-4-((3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)methoxy)benzyl)pyrrolidine-3-carboxylicacid; or a pharmaceutically acceptable salt or a stereoisomer thereof.55. The compound of claim 1 selected from:(R)-1-((8-(2′-Chloro-2-methyl-3′-(1-methyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid;(R)-1-((8-(3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2,2′-dimethylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;trans-4-((2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1l-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid;cis-4-((2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1l-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid;cis-4-((2-(2-chloro-2′-methyl-3′-(3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid;trans-4-((2-(2-chloro-3′-(3-(((5)-1-hydroxypropan-2-ylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(41f)-yl)methyl)cyclohexanecarboxylic acid;trans-4-((2-(2-chloro-3′-(3-(((1 S,2S)-2-hydroxycyclopentylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(41f)-yl)methyl)cyclohexanecarboxylic acid; trans4-(2-(2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid; cis4-(2-(2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid;3-(2-(2-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)butanoicacid; cis4-((2-(2-chloro-3′-(3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid; cis4-((2-(2-chloro-3′-(3-(((R)-3-hydroxy-3-methylpyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(41f)-yl)methyl)cyclohexanecarboxylic acid;(R)-4-(2-(2-chloro-3′-(3-((3-hydroxy-3-methylpyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(41f)-yl)cyclohexanecarboxylic acid;(S)-4-(2-(2-chloro-3′-(3-((3-hydroxy-3-methylpyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(41f)-yl)cyclohexanecarboxylic acid; trans4-(2-(2-(2-chloro-3′-(3-(((R)-1-hydroxypropan-2-ylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(41f)-yl)ethyl)cyclohexanecarboxylic acid; trans4-(2-(2-(2-chloro-3′-(3-(((S)-1-hydroxypropan-2-ylamino)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(41f)-yl)ethyl)cyclohexanecarboxylic acid;trans-4-(2-(2-(2-chloro-3′-(3-(((R)-3-hydroxy-3-methylpyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(41f)-yl)ethyl)cyclohexanecarboxylic acid;(R)-4-(2-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)-1-methylcyclohexanecarboxylicacid;trans-4-(2-(2-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid;(R)-4-(2-(3′-(3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)cyclohexanecarboxylicacid;Trans-4-(2-(2-(2,2′-dichloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)ethyl)cyclohexanecarboxylicacid; trans4-(2-(2-(2′-chloro-3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(41f)-yl)ethyl)cyclohexanecarboxylic acid;(R)-1-((4-(2′-chloro-3′-(1,5-dimethyl-4,5,6,7-tetrahydro-1H-imidazo[4,5-c]pyridine-2-carboxamido)-2-methylbiphenyl-3-ylamino)pyrido[3,2-d]pyrimidin-7-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid(R)-4-(2-(2-chloro-3′-(7-((3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)-1-methylcyclohexanecarboxylicacid; trans4-((2-(2-chloro-3′-(7-(((R)-3-hydroxypyrrolidin-1-yl)methyl)pyrido[3,2-d]pyrimidin-4-ylamino)-2′-methylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid;(R)-1-((5-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylamino)pyrido[4,3-b]pyrazin-2-yl)methyl)pyrrolidine-3-carboxylicacid;(3R)-1-((8-(2,2′-dimethyl-3′-(3-(pyrrolidin-2-yl)-1,7-naphthyridin-8-ylamino)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-(2,2′-dichloro-3′-(3-((2-hydroxyethylamino)methyl)imidazo[1,2-a]pyrazin-8-ylamino)biphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(R)-1-((8-((2,2′-dimethyl-3′-((3-(pyrrolidin-1-ylmethyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(S)-1-((8-((2′-chloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(R)-1-((8-((2′-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid;(R)-1-((8-((2,2′-dichloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidin-3-ol;(R)-1-((8-((2,2′-dichloro-3′-((3-(((2-hydroxyethyl)amino)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-ol;(R)-1-((8-((2,2′-dichloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((2-chloro-3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid;(R)-3-(((8-((2-chloro-3′-((3-((3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)amino)propanoicacid;(R)-1-((8-((2,2′-dichloro-3′-((3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(S)-1-((8-((2,2′-dichloro-3′-((3-(((S)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]oxazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;2-((R)-3-hydroxypyrrolidin-1-yl)-1-(2-(3′-((3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-yl)amino)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)-4,6-dihydro-5H-pyrrolo[3,4-d]thiazol-5-yl)ethan-1-one;(R)-1-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)-3-methylpyrrolidine-3-carboxylicacid;1-((8-((3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2,2′-dimethyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)azetidine-3-carboxylicacid;(R)-1-((8-((2-chloro-3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((2-chloro-3′-(5-(N-ethyl-N-methylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-2-(1-((8-((2-chloro-3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-yl)aceticacid;2-((8-((2-chloro-3′-(5-(dimethylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)-2-azabicyclo[2.2.1]heptane-5-carboxylicacid;(R)-2-(1-((8-(2-chloro-3′-(5-(2-(ethyl(methyl)amino)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)pyrrolidin-3-yl)aceticacid;2-((8-(2-chloro-3′-(5-(2-(ethyl(methyl)amino)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methylbiphenyl-3-ylamino)-1,7-naphthyridin-3-yl)methyl)-2-azabicyclo[2.2.1]heptane-5-carboxylicacid;(R)-1-((8-((2-chloro-3′-(5-(2-((R)-3-hydroxypyrrolidin-1-yl)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((2-chloro-3′-(5-(N-(2-hydroxyethyl)-N-methylglycyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((2-chloro-3′-(5-(2-((S)-3-hydroxypyrrolidin-1-yl)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid;(R)-1-((8-((2-chloro-3′-(5-(2-(3-hydroxyazetidin-1-yl)acetyl)-5,6-dihydro-4H-pyrrolo[3,4-d]thiazol-2-yl)-2′-methyl-[1,1′-biphenyl]-3-yl)amino)-1,7-naphthyridin-3-yl)methyl)pyrrolidine-3-carboxylicacid; andCis-4-((2-(3′-(3-(((R)-3-hydroxypyrrolidin-1-yl)methyl)-1,7-naphthyridin-8-ylamino)-2,2′-dimethylbiphenyl-3-ylcarbamoyl)-1-methyl-6,7-dihydro-1H-imidazo[4,5-c]pyridin-5(4H)-yl)methyl)cyclohexanecarboxylicacid; or a pharmaceutically acceptable salt or a stereoisomer thereof.56. The compound of claim 1, or a pharmaceutically acceptable salt or astereoisomer thereof, wherein: ring A is 5- to 10-membered heteroaryl,4- to 11-membered heterocycloalkyl, or C₆₋₁₀ aryl, wherein the 5- to10-membered heteroaryl and 4- to 11-membered heterocycloalkyl each has1-4 heteroatoms as ring members selected from N, O and S, wherein the Nor S atom as ring members is optionally oxidized and one or more carbonatoms as ring members are each optionally replaced by a carbonyl group;and wherein ring A is optionally substituted with 1, 2 or 3 R⁶substituents; L is a bond, —C(O)NR¹³—, —NR¹³C(O)—, —(CR¹⁴R¹⁵)_(q)—O—,—O(CR¹⁴R¹⁵)_(q)—, —NR¹³—, or CH═CH—; X is N or CR¹⁷, wherein R¹⁷ is H,C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, orOH, wherein the C₁₋₄ alkyl and C₁₋₄ alkoxy are each optionallysubstituted with 1 or 2 substituents independently selected from CN,halo and —C(O)NH₂; one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and theother is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy,CN, halo, or OH, wherein the C₁₋₄ alkyl and C₁₋₄ alkoxy of R¹ or R² isoptionally substituted with 1 or 2 substituents independently selectedfrom C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, and OH; R³is methyl, halo, CN or C₁₋₄ haloalkyl; R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, orC₁₋₄ haloalkyl; R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, or OH; each R⁶ is independently selected from H,halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, 5-14 membered heteroaryl, 4-10 membered heterocycloalkyl,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), C(O)R^(a),C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a), NHR^(a),NR^(a)R^(a), NR^(a)C(O)R^(a), or NR^(a)C(O)OR^(a), wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, 5-14 membered heteroaryl, 4-10membered heterocycloalkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl- and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R⁶ are each optionallysubstituted with 1, 2, or 3 R^(b) substituents; R⁷ is H, C₁₋₄ alkyl,C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, or OH; R⁸ and R⁹are each independently selected from H, halo, CN, OH, —COOH, C₁₋₄ alkyl,C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, and C₁₋₄ haloalkyl; R¹⁰ andR¹¹ are each independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,—C(O)R^(g), —C(O)OR^(g), and —C(O)NR^(g)R^(g), wherein the C₁₋₆ alkyland C₁₋₆ haloalkyl of R¹⁰ or R¹¹ are each optionally substituted with 1or 2 independently selected R^(f) substituents; or R¹⁰ and R¹¹ takentogether with the nitrogen atom to which they are attached form 4-, 5-,6- or 7-membered heterocycloalkyl, wherein the 4-, 5-, 6- or 7-memberedheterocycloalkyl is optionally substituted with 1, 2 or 3 R^(h)substituents; R¹² is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, or OH; each R¹³ is independently H, C₁₋₆ haloalkylor C₁₋₆ alkyl; R¹⁴ and R¹⁵ are each independently selected from H, halo,or C₁₋₄ alkyl; each R^(a) is independently selected from H, CN, C₁₋₆alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-14 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, (5-14membered heteroaryl)-C₁₋₄ alkyl- and (4-14 memberedheterocycloalkyl)-C₁₋₄ alkyl- of R^(a) are each optionally substitutedwith 1, 2, 3 or independently selected R^(d) substituents; each R^(d) isindependently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl, halo, CN, NH₂,OR^(e), C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e),OC(O)NR^(e)R^(e), NHR^(e), NR^(e)R^(e), and NR^(e)C(O)R^(e); each R^(e)is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆alkenyl, and C₂₋₆ alkynyl; each R^(b) substituent is independentlyselected from halo, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, CN, OH,NH₂, NO₂, OR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c),NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c), and NR^(c)C(O)OR^(c); wherein theC₁₋₄ alkyl, C₁₋₄ haloalkyl, and C₁₋₄ haloalkoxy of R^(b) are eachfurther optionally substituted with 1 or 2 independently selected R^(d)substituents; each R^(c) is independently selected from H, C₁₋₆ alkyl,C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl- ofR^(c) are each optionally substituted with 1, 2, or 3 R^(f)substituents; each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(g), C(O)R^(g),C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g), OC(O)NR^(g)R^(g), NHR^(g),NR^(g)R^(g), NR^(i)C(O)R, and NR^(g)C(O)OR^(g); each R^(j) isindependently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl,and C₂₋₆ alkynyl; each R^(h) is independently selected from C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i), OC(O)R^(i),OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R^(i), andNR^(i)C(O)OR^(i), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynylof R^(h) are each further optionally substituted by 1, 2, or 3 R^(j)substituents; each R^(j) is independently selected from C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, and CN; or any two R^(c)substituents together with the nitrogen atom to which they are attachedform a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;each R^(i) is independently selected from H, C₁₋₄ alkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₄ alkenyl, and C₂₋₄ alkynyl; the subscript m is aninteger of 0, 1, or 2; the subscript n is an integer of 0, 1, or 2; andthe subscript p is an integer of 1, 2, or
 3. 57. The compound of claim1, or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: ring A is 5- to 10-membered heteroaryl or 4- to 11-memberedheterocycloalkyl, wherein the 5- to 10-membered heteroaryl and 4- to11-membered heterocycloalkyl each has 1-4 heteroatoms as ring membersselected from N, O and S, wherein the N or S atom as ring members isoptionally oxidized and one or more carbon atoms as ring members areeach optionally replaced by a carbonyl group; and wherein ring A isoptionally substituted with 1, 2 or 3 R⁶ substituents; L is a bond,—C(O)NR¹³—, —NR¹³C(O)—, —NR¹³—, or CH═CH—; X is N or CR¹⁷, wherein R¹⁷is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN,halo, or OH, wherein the C₁₋₄ alkyl and C₁₋₄ alkoxy are each optionallysubstituted with 1 or 2 substituents independently selected from CN,halo and —C(O)NH₂; one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and theother is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy,CN, halo, or OH, wherein the C₁₋₄ alkyl and C₁₋₄ alkoxy of R¹ or R² isoptionally substituted with 1 or 2 substituents independently selectedfrom C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, and OH; R³is methyl, halo, CN or C₁₋₄ haloalkyl; R⁴ is C₁₋₄ alkyl, C₁₋₄ alkoxy, orC₁₋₄ haloalkyl; R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, or OH; each R⁶ is independently selected from H,halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₁₋₆ haloalkyl, C₁₋₆haloalkoxy, 5-14 membered heteroaryl, 4-10 membered heterocycloalkyl,(5-14 membered heteroaryl)-C₁₋₄ alkyl-, (4-10 memberedheterocycloalkyl)-C₁₋₄ alkyl-, CN, NO₂, OR^(a), C(O)R^(a),C(O)NR^(a)R^(a), C(O)OR^(a), OC(O)R^(a), OC(O)NR^(a)R^(a), NHR^(a),NR^(a)R^(a), NR^(a)C(O)R^(a), or NR^(a)C(O)OR^(a), wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, 5-14 membered heteroaryl, 4-10membered heterocycloalkyl, (5-14 membered heteroaryl)-C₁₋₄ alkyl- and(4-10 membered heterocycloalkyl)-C₁₋₄ alkyl- of R⁶ are each optionallysubstituted with 1, 2, or 3 R^(b) substituents; R⁷ is H, C₁₋₄ alkyl,C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄ haloalkoxy, CN, halo, or OH; R⁸ and R⁹are each independently selected from H, halo, CN, OH, —COOH, C₁₋₄ alkyl,C₁₋₄ alkoxy, —NHC₁₋₄ alkyl, —N(C₁₋₄ alkyl)₂, and C₁₋₄ haloalkyl; R¹⁰ andR¹¹ are each independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl,—C(O)R^(g), —C(O)OR^(g), and —C(O)NR^(g)R^(g), wherein the C₁₋₆ alkyland C₁₋₆ haloalkyl of R¹⁰ or R¹¹ are each optionally substituted with 1or 2 independently selected R^(f) substituents; or R¹⁰ and R¹¹ takentogether with the nitrogen atom to which they are attached form 4-, 5-,6- or 7-membered heterocycloalkyl, wherein the 4-, 5-, 6- or 7-memberedheterocycloalkyl is optionally substituted with 1, 2 or 3 R^(h)substituents; R¹² is H, C₁₋₄ alkyl, C₁₋₄ alkoxy, C₁₋₄ haloalkyl, C₁₋₄haloalkoxy, CN, halo, or OH; each R¹³ is independently H, C₁₋₆ haloalkylor C₁₋₆ alkyl; each R^(a) is independently selected from H, CN, C₁₋₆alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynyl; each R^(d) isindependently selected from C₁₋₆ alkyl, C₁₋₆ haloalkyl, halo, CN, NH₂,OR^(e), C(O)R^(e), C(O)NR^(e)R^(e), C(O)OR^(e), OC(O)R^(e),OC(O)NR^(e)R^(e), NHR^(e), NR^(e)R^(e), and NR^(e)C(O)R^(e); each R^(e)is independently selected from H, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₂₋₆alkenyl, and C₂₋₆ alkynyl; each R^(b) substituent is independentlyselected from halo, C₁₋₆ alkyl, C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, CN, OH,NH₂, NO₂, OR^(c), C(O)R^(c), C(O)NR^(c)R^(c), C(O)OR^(c), OC(O)R^(c),OC(O)NR^(c)R^(c), C(═NR^(c))NR^(c)R^(c), NR^(c)C(═NR^(c))NR^(c)R^(c),NHR^(c), NR^(c)R^(c), NR^(c)C(O)R^(c), and NR^(c)C(O)OR^(c); wherein theC₁₋₄ alkyl, C₁₋₄ haloalkyl, and C₁₋₄ haloalkoxy of R^(b) are eachfurther optionally substituted with 1 or 2 independently selected R^(d)substituents; each R^(c) is independently selected from H, C₁₋₆ alkyl,C₁₋₄ haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-,wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₆₋₁₀ aryl, C₃₋₁₀cycloalkyl, C₆₋₁₀ aryl-C₁₋₄ alkyl-, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl- ofR^(c) are each optionally substituted with 1, 2, or 3 R^(f)substituents; each R^(f) is independently selected from C₁₋₄ alkyl, C₁₋₄haloalkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN, OR^(g), C(O)R^(g),C(O)NR^(g)R^(g), C(O)OR^(g), OC(O)R^(g), OC(O)NR^(g)R^(g), NHR^(g),NR^(g)R^(g), NR^(i)C(O)R, and NR^(i)C(O)OR^(g); each R^(g) isindependently selected from H, C₁₋₆ alkyl, C₁₋₄ haloalkyl, C₂₋₆ alkenyl,and C₂₋₆ alkynyl; each R^(h) is independently selected from C₁₋₆ alkyl,C₁₋₆ haloalkyl, C₁₋₆ haloalkoxy, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, CN,OR^(i), C(O)R^(i), C(O)NR^(i)R^(i), C(O)OR^(i), OC(O)R^(i),OC(O)NR^(i)R^(i), NHR^(i), NR^(i)R^(i), NR^(i)C(O)R, andNR^(i)C(O)OR^(i), wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, and C₂₋₆ alkynylof R^(h) are each further optionally substituted by 1, 2, or 3 R^(j)substituents; each R^(j) is independently selected from C₂₋₄ alkenyl,C₂₋₄ alkynyl, halo, C₁₋₄ alkyl, C₁₋₄ haloalkyl, and CN; or any two R^(c)substituents together with the nitrogen atom to which they are attachedform a 4-, 5-, 6-, or 7-membered heterocycloalkyl group optionallysubstituted with 1, 2, or 3 independently selected R^(h) substituents;each R^(i) is independently selected from H, C₁₋₄ alkyl, C₁₋₆ haloalkyl,C₁₋₆ haloalkoxy, C₂₋₄ alkenyl, and C₂₋₄ alkynyl; the subscript m is aninteger of 0, 1, or 2; the subscript n is an integer of 0, 1, or 2; andthe subscript p is an integer of 1, 2, or
 3. 58. The compound of claim1, or a pharmaceutically acceptable salt or a stereoisomer thereof,wherein: ring A is 5- to 10-membered heteroaryl or 4- to 11-memberedheterocycloalkyl, wherein the 5- to 10-membered heteroaryl and 4- to11-membered heterocycloalkyl each has 1-4 heteroatoms as ring membersselected from N, O and S, wherein the N or S atom as ring members isoptionally oxidized and one or more carbon atoms as ring members areeach optionally replaced by a carbonyl group; and wherein ring A isoptionally substituted with 1, 2 or 3 R⁶ substituents; L is a bond,—C(O)NR¹³—, —NR¹³—, or —NR¹³C(O)—; X is CR¹⁷, wherein R¹⁷ is H or C₁₋₄alkyl; one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H, C₁₋₄alkyl, or C₁₋₄ alkoxy; R³ is methyl, or halo; R⁴ is C₁₋₄ alkyl or C₁₋₄alkoxy; R⁵ is C₁₋₄ alkyl, C₁₋₄ alkoxy, or halo; each R⁶ is independentlyselected from H, halo, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, 5-14membered heteroaryl, 4-10 membered heterocycloalkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl-, and (4-10 membered heterocycloalkyl)-C₁₋₄alkyl-, wherein the C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, 5-14membered heteroaryl, 4-10 membered heterocycloalkyl, (5-14 memberedheteroaryl)-C₁₋₄ alkyl- and (4-10 membered heterocycloalkyl)-C₁₋₄ alkyl-of R⁶ are each optionally substituted with 1, 2, or 3 R^(b)substituents; R⁷ is H or C₁₋₄ alkyl; R⁸ and R⁹ are each independentlyselected from H and C₁₋₄ alkyl; R¹⁰ and R¹¹ are each independentlyselected from H and C₁₋₆ alkyl optionally substituted with 1 or 2independently selected R^(f) substituents; or R¹⁰ and R¹¹ taken togetherwith the nitrogen atom to which they are attached form 4-, 5-, 6- or7-membered heterocycloalkyl, wherein the 4-, 5-, 6- or 7-memberedheterocycloalkyl is optionally substituted with 1, 2 or 3 R^(h)substituents; R¹² is H or C₁₋₄ alkyl; each R¹³ is independently H orC₁₋₆ alkyl; each R^(b) substituent is independently selected from halo,C₁₋₆ alkyl, OH, NH₂, C(O)OR^(c), NHR^(c), and NR^(c)R^(c); each R^(c) isindependently selected from H, C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,C₃₋₁₀ cycloalkyl, and C₃₋₁₀ cycloalkyl-C₁₋₄ alkyl-, wherein the C₁₋₆alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, C₃₋₁₀ cycloalkyl, and C₃₋₁₀cycloalkyl-C₁₋₄ alkyl- of R^(c) are each optionally substituted with 1or 2 R^(f) substituents; each R^(f) is independently selected from C₁₋₄alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl, halo, OR^(g), and C(O)OR^(g); eachR^(g) is independently selected from H and C₁₋₆ alkyl; each R^(h) isindependently selected from C₁₋₆ alkyl, C₂₋₆ alkenyl, C₂₋₆ alkynyl,halo, CN, OR^(i), and C(O)OR^(i); or any two R^(c) substituents togetherwith the nitrogen atom to which they are attached form a 4-, 5-, 6-, or7-membered heterocycloalkyl group optionally substituted with 1, 2, or 3independently selected R^(h) substituents; each R^(i) is independentlyselected from H and C₁₋₄ alkyl; the subscript m is an integer of 0 or 1;the subscript n is an integer of 0 or 1; and the subscript p is aninteger of 1 or
 2. 59. The compound of claim 1, or a pharmaceuticallyacceptable salt or a stereoisomer thereof, wherein: ring A is 5- to10-membered heteroaryl, wherein the 5- to 10-membered heteroaryl has 1-4heteroatoms as ring members selected from N, O and S, wherein the N or Satom as ring members is optionally oxidized and one or more carbon atomsas ring members are each optionally replaced by a carbonyl group; andwherein ring A is optionally substituted with 1 or 2 R⁶ substituents; Lis a bond, —C(O)NR¹³—, —NR¹³—, or —NR¹³C(O)—; X is CR¹⁷, wherein R¹⁷ isH; one of R¹ and R² is —(CR⁸R⁹)_(p)—NR¹⁰R¹¹ and the other is H; R³ ismethyl, or halo; R⁴ is C₁₋₄ alkyl or C₁₋₄ alkoxy; R⁵ is C₁₋₄ alkyl orhalo; each R⁶ is independently selected from H, C₁₋₆ alkyl, and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl-, wherein the C₁₋₆ alkyl and (4-10membered heterocycloalkyl)-C₁₋₄ alkyl- of R⁶ are each optionallysubstituted with 1 or 2 R^(b) substituents; R⁷ is H; R⁸ and R⁹ are eachindependently selected from H and C₁₋₄ alkyl; R¹⁰ and R¹¹ are eachindependently selected from H and C₁₋₆ alkyl optionally substituted with1 or 2 independently selected R^(f) substituents; or R¹⁰ and R¹¹ takentogether with the nitrogen atom to which they are attached form 4-, 5-,6- or 7-membered heterocycloalkyl, wherein the 4-, 5-, 6- or 7-memberedheterocycloalkyl is optionally substituted with 1, 2 or 3 R^(h)substituents; R¹² is H; R¹³ is H; each R^(b) substituent isindependently selected from OH, C(O)OR^(c), NHR^(c), and NR^(c)R^(c);each R^(c) is independently selected from H, C₁₋₆ alkyl, and C₃₋₁₀cycloalkyl, wherein the C₁₋₆ alkyl, and C₃₋₁₀ cycloalkyl of R^(c) areeach optionally substituted with 1 or 2 R^(f) substituents; each R^(f)is independently selected from OR^(g), and C(O)OR^(g); R^(g) is H; eachR^(h) is independently selected from OR^(i) and C(O)OR^(i); or any twoR^(c) substituents together with the nitrogen atom to which they areattached form a 4-, 5-, 6-, or 7-membered heterocycloalkyl groupoptionally substituted with 1, 2, or 3 independently selected R^(h)substituents; R^(i) is H; the subscript m is an integer of 0 or 1; thesubscript n is an integer of 0 or 1; and the subscript p is an integerof 1 or
 2. 60. A pharmaceutical composition comprising a compound ofclaim 1, or a pharmaceutically acceptable salt or a stereoisomerthereof, and one or more pharmaceutically acceptable excipient orcarrier.
 61. A method of inhibiting PD-1/PD-L1 interaction, said methodcomprising administering to a patient a compound of claim 1, or apharmaceutically acceptable salt or a stereoisomer thereof.
 62. A methodof treating a disease or disorder associated with inhibition ofPD-1/PD-L1 interaction, said method comprising administering to apatient in need thereof a therapeutically effective amount of a compoundof claim 1, or a pharmaceutically acceptable salt or a stereoisomerthereof.
 63. A method of enhancing, stimulating and/or increasing theimmune response in a patient, said method comprising administering tothe patient in need thereof a therapeutically effective amount of acompound of claim 1, or a pharmaceutically acceptable salt or astereoisomer thereof.